summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2022-11-01 16:24:54 +0100
committerMatthias Melcher <github@matthiasm.com>2022-11-01 16:24:54 +0100
commitdd7edd7c7fe0594faabfe142bcc211bd8d7e9e76 (patch)
tree0885594510d95dc851242284465a1fd7885bb106 /fluid
parent93ea93ee2b424ded25358d87529b1160cdb4f80c (diff)
Fluid subgroup visibility
Diffstat (limited to 'fluid')
-rw-r--r--fluid/widget_panel.cxx2
-rw-r--r--fluid/widget_panel.fl8
2 files changed, 5 insertions, 5 deletions
diff --git a/fluid/widget_panel.cxx b/fluid/widget_panel.cxx
index c42359ea9..3a8d270e1 100644
--- a/fluid/widget_panel.cxx
+++ b/fluid/widget_panel.cxx
@@ -266,7 +266,6 @@ Fl_Double_Window* make_widget_panel() {
o->labelsize(11);
o->callback((Fl_Callback*)position_group_cb);
o->align(Fl_Align(FL_ALIGN_LEFT));
- o->hide();
{ widget_x_input = new Fluid_Coord_Input(95, 150, 55, 20, "X:");
widget_x_input->tooltip("The X position of the widget.");
widget_x_input->box(FL_DOWN_BOX);
@@ -339,6 +338,7 @@ ive to the origin at construction time");
o->labelsize(11);
o->callback((Fl_Callback*)flex_size_group_cb);
o->align(Fl_Align(FL_ALIGN_LEFT));
+ o->hide();
{ widget_flex_size = new Fl_Value_Input(95, 150, 55, 20, "Size:");
widget_flex_size->tooltip("Fixed Width or Height for a horizontal or vertical Fl_Flex Parent.");
widget_flex_size->labelsize(11);
diff --git a/fluid/widget_panel.fl b/fluid/widget_panel.fl
index de82b3871..d853efc88 100644
--- a/fluid/widget_panel.fl
+++ b/fluid/widget_panel.fl
@@ -258,8 +258,8 @@ Use Ctrl-J for newlines.} xywh {95 40 190 20} labelfont 1 labelsize 11 when 1 te
}
Fl_Group {} {
label {Position:}
- callback position_group_cb open
- xywh {95 150 314 20} labelfont 1 labelsize 11 align 4 hide
+ callback position_group_cb open selected
+ xywh {95 150 314 20} labelfont 1 labelsize 11 align 4
} {
Fl_Input widget_x_input {
label {X:}
@@ -297,7 +297,7 @@ Use Ctrl-J for newlines.} xywh {95 40 190 20} labelfont 1 labelsize 11 when 1 te
Fl_Group {} {
label {Flex Parent:}
callback flex_size_group_cb open
- xywh {95 150 314 20} labelfont 1 labelsize 11 align 4
+ xywh {95 150 314 20} labelfont 1 labelsize 11 align 4 hide
} {
Fl_Value_Input widget_flex_size {
label {Size:}
@@ -306,7 +306,7 @@ Use Ctrl-J for newlines.} xywh {95 40 190 20} labelfont 1 labelsize 11 when 1 te
}
Fl_Check_Button widget_flex_fixed {
label fixed
- callback flex_fixed_cb selected
+ callback flex_fixed_cb
tooltip {If checked, the size of the widget stays fixed.} xywh {155 150 55 20} down_box DOWN_BOX labelsize 11
}
Fl_Box {} {