summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-09-02 12:09:47 +0200
committerMatthias Melcher <github@matthiasm.com>2024-09-02 12:09:47 +0200
commit2afeb6d64736b397aad8db2f5c88d3d8577fea28 (patch)
treeab2c1f02c3c2edb62ca9384792496d30fd003e44 /fluid
parent0ee76e5696d680eba0caf46231f6fc08334573b6 (diff)
FLUID Fix width of square button
Diffstat (limited to 'fluid')
-rw-r--r--fluid/widget_panel.cxx2
-rw-r--r--fluid/widget_panel.fl4
2 files changed, 3 insertions, 3 deletions
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