diff options
| author | Matthias Melcher <github@matthiasm.com> | 2024-08-14 01:46:38 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2024-08-14 01:52:37 +0200 |
| commit | ede61089be8d5593be0d1908d40971159cc0eab3 (patch) | |
| tree | 280e7bb0d852834cf2da74f892a5e36c8b3c9960 /fluid/widget_panel.fl | |
| parent | a9e989cc2d30fafef72a42c79e9a41b101cbaba7 (diff) | |
FLUID: add image spacing control
Diffstat (limited to 'fluid/widget_panel.fl')
| -rw-r--r-- | fluid/widget_panel.fl | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/fluid/widget_panel.fl b/fluid/widget_panel.fl index 1427b91f3..e7f0b70b7 100644 --- a/fluid/widget_panel.fl +++ b/fluid/widget_panel.fl @@ -838,11 +838,11 @@ Use Ctrl-J for newlines.} xywh {95 285 310 20} labelfont 1 labelsize 11 textsize Fl_Group wp_style_label { label {Label Font:} callback propagate_load open - xywh {95 40 309 20} labelfont 1 labelsize 11 align 4 + xywh {99 40 305 20} labelfont 1 labelsize 11 align 4 } { Fl_Choice {} { callback labelfont_cb open - tooltip {The style of the label text.} xywh {95 40 152 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable + tooltip {The style of the label text.} xywh {99 40 148 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable code0 {extern Fl_Menu_Item fontmenu[];} code1 {o->menu(fontmenu);} } {} @@ -865,11 +865,11 @@ Use Ctrl-J for newlines.} xywh {95 285 310 20} labelfont 1 labelsize 11 textsize Fl_Group wp_style_box { label {Box:} callback propagate_load open - xywh {95 65 309 20} labelfont 1 labelsize 11 align 4 + xywh {99 65 305 20} labelfont 1 labelsize 11 align 4 } { Fl_Choice {} { callback box_cb open - tooltip {The "up" box of the widget.} xywh {95 65 201 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable + tooltip {The "up" box of the widget.} xywh {100 65 196 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable code0 {extern Fl_Menu_Item boxmenu[];} code1 {o->menu(boxmenu);} } {} @@ -888,11 +888,11 @@ Use Ctrl-J for newlines.} xywh {95 285 310 20} labelfont 1 labelsize 11 textsize Fl_Group wp_style_downbox { label {Down Box:} callback propagate_load open - xywh {95 90 309 20} labelfont 1 labelsize 11 align 4 + xywh {99 90 305 20} labelfont 1 labelsize 11 align 4 } { Fl_Choice {} { callback down_box_cb open - tooltip {The "down" box of the widget.} xywh {95 90 201 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable + tooltip {The "down" box of the widget.} xywh {99 90 197 20} box THIN_UP_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable code0 {extern Fl_Menu_Item boxmenu[];} code1 {o->menu(boxmenu);} } {} @@ -911,11 +911,11 @@ Use Ctrl-J for newlines.} xywh {95 285 310 20} labelfont 1 labelsize 11 textsize Fl_Group wp_style_text { label {Text Font:} callback propagate_load open - xywh {95 115 309 20} labelfont 1 labelsize 11 align 4 + xywh {99 115 305 20} labelfont 1 labelsize 11 align 4 } { Fl_Choice {} { callback textfont_cb open - tooltip {The value text style.} xywh {95 115 152 20} box DOWN_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable + tooltip {The value text style.} xywh {99 115 148 20} box DOWN_BOX down_box BORDER_BOX labelfont 1 labelsize 11 textsize 11 resizable code0 {extern Fl_Menu_Item fontmenu[];} code1 {o->menu(fontmenu);} } {} @@ -935,13 +935,18 @@ Use Ctrl-J for newlines.} xywh {95 285 310 20} labelfont 1 labelsize 11 textsize code1 {o->menu(colormenu);} } {} } - Fl_Box {} { - xywh {95 165 300 40} labelsize 11 resizable + Fl_Value_Input {} { + label {Image Spacing:} + callback image_spacing_cb + tooltip {Gap between label image and text in pixels} xywh {99 140 49 20} labelfont 1 labelsize 11 maximum 100 step 1 value 14 textsize 11 } Fl_Light_Button {} { label Compact callback compact_cb - tooltip {use compact box types for closely set buttons} xywh {95 140 90 20} selection_color 1 labelsize 11 + tooltip {use compact box types for closely set buttons} xywh {99 165 90 20} selection_color 1 labelsize 11 + } + Fl_Box {} { + xywh {195 195 40 40} labelsize 11 resizable } } Fl_Group wp_cpp_tab { |
