Fluid subgroup visibility

This commit is contained in:
Matthias Melcher 2022-11-01 16:24:54 +01:00
parent 93ea93ee2b
commit dd7edd7c7f
2 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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 {} {