diff --git a/fluid/widget_panel.cxx b/fluid/widget_panel.cxx index 0c6d28cb7..61ea1314e 100644 --- a/fluid/widget_panel.cxx +++ b/fluid/widget_panel.cxx @@ -1158,7 +1158,7 @@ Fl_Double_Window* make_widget_panel() { o->callback((Fl_Callback*)align_position_cb); o->menu(menu_1); } // Fl_Choice* o - { Fl_Button* o = new Fl_Button(384, 115, 22, 20, "@-3square"); + { Fl_Button* o = new Fl_Button(384, 115, 20, 20, "@-3square"); o->tooltip("Show the label inside the widget."); o->type(1); o->selection_color(FL_INACTIVE_COLOR); diff --git a/fluid/widget_panel.fl b/fluid/widget_panel.fl index 76996af3c..5d01fa96d 100644 --- a/fluid/widget_panel.fl +++ b/fluid/widget_panel.fl @@ -333,7 +333,7 @@ Function {make_widget_panel()} { } { Fl_Window {} { comment {Use a Double Window to avoid flickering.} open selected - xywh {430 217 420 400} type Double labelsize 11 align 80 resizable hotspot + xywh {372 208 420 400} type Double labelsize 11 align 80 resizable hotspot code0 {o->size_range(o->w(), o->h());} size_range {420 400 0 0} visible } { Fl_Tabs widget_tabs { @@ -560,7 +560,7 @@ Use Ctrl-J for newlines.} xywh {95 40 190 20} labelfont 1 labelsize 11 when 15 t label {@-3square} user_data {(fl_intptr_t)FL_ALIGN_INSIDE} callback align_cb - tooltip {Show the label inside the widget.} xywh {384 115 22 20} type Toggle selection_color 8 labelsize 11 labelcolor 8 + tooltip {Show the label inside the widget.} xywh {384 115 20 20} type Toggle selection_color 8 labelsize 11 labelcolor 8 } Fl_Box {} { xywh {406 115 1 20} labelsize 11 resizable