diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-03-18 17:33:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-18 17:33:27 +0100 |
| commit | 5c482f9d9b357e098f955351f425bc985254ff28 (patch) | |
| tree | c410588ac915886aea4bef3478a12d682bb5ad9f /fluid/widget_panel.fl | |
| parent | a9fb6a979fbcf31c2405d61ea720879bd5507d02 (diff) | |
Fix and update alignment #346 (#701)
* interactive layout alignment rewritten
* interface for new alignment rules
* new alignment dialog box
* user defined layout rules added
* layout rules can be stored in projects, settings, and external files
* Valgrind verification
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 ea4c1ad24..afed58034 100644 --- a/fluid/widget_panel.fl +++ b/fluid/widget_panel.fl @@ -30,7 +30,7 @@ Function {make_widget_panel()} { comment {Create a panel that can be used with all known widgets} open } { Fl_Window {} { - comment {Use a Double Window to avoid flickering.} open + comment {Use a Double Window to avoid flickering.} open selected xywh {566 244 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 } { @@ -40,7 +40,7 @@ Function {make_widget_panel()} { } { Fl_Group {} { label GUI - callback propagate_load open selected + callback propagate_load open xywh {10 30 400 330} labelsize 11 when 0 resizable } { Fl_Group {} { @@ -784,7 +784,7 @@ wCallback->do_callback(wCallback, v);} open Fl_Group {} { label {Type:} callback propagate_load open - xywh {95 335 310 20} labelfont 1 labelsize 11 align 4 + xywh {95 332 310 26} labelfont 1 labelsize 11 align 4 } { Fl_Input_Choice {} { callback user_data_type_cb open @@ -809,24 +809,29 @@ wCallback->do_callback(wCallback, v);} open Fl_Group {} {open xywh {10 370 400 20} labelsize 11 } { - Fl_Box {} { - comment {Hidden resizable box} - xywh {10 370 75 20} labelsize 11 hide resizable - } Fl_Button wLiveMode { label {Live &Resize} callback live_mode_cb - tooltip {Create a live duplicate of the selected widgets to test resizing and menu behavior.} xywh {155 370 80 20} type Toggle labelsize 11 + tooltip {Create a live duplicate of the selected widgets to test resizing and menu behavior.} xywh {10 370 80 20} type Toggle labelsize 11 } - Fl_Button {} { + Fl_Button overlay_button { label {Hide &Overlays} callback overlay_cb - tooltip {Hide the widget overlay box.} xywh {240 370 100 20} labelsize 11 labelcolor 1 + tooltip {Hide the widget overlay box.} xywh {94 370 80 20} labelsize 11 + } + Fl_Button guides_button { + label {Hide &Guides} + callback guides_cb + tooltip {Hide alignment guides.} xywh {178 370 80 20} labelsize 11 + } + Fl_Box {} { + comment {Hidden resizable box} + xywh {258 370 72 20} labelsize 11 hide resizable } Fl_Return_Button {} { label Close callback ok_cb - xywh {345 370 65 20} labelsize 11 + xywh {330 370 80 20} labelsize 11 } } } |
