summaryrefslogtreecommitdiff
path: root/examples/howto-flex-simple.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/howto-flex-simple.cxx')
-rw-r--r--examples/howto-flex-simple.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/howto-flex-simple.cxx b/examples/howto-flex-simple.cxx
index 329fe9351..15bdde715 100644
--- a/examples/howto-flex-simple.cxx
+++ b/examples/howto-flex-simple.cxx
@@ -49,7 +49,7 @@ int main(int argc, char **argv) {
// set gap between adjacent buttons and extra spacing (invisible box size)
flex.gap(10);
- flex.set_size(bx, 30); // total 50: 2 * gap + 30
+ flex.fixed(bx, 30); // total 50: 2 * gap + 30
// end() groups
flex.end();