From 1f5472a7d37af7909c1daa37bb5aee7296df170a Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 5 Nov 2023 20:04:43 +0100 Subject: FLUID: Adds transient cells to Fl_Grid This allows multiple widgets to occupy a single cell which is needed when moving cells across the grid interactively. --- fluid/alignment_panel.fl | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'fluid/alignment_panel.fl') diff --git a/fluid/alignment_panel.fl b/fluid/alignment_panel.fl index 464970348..66335f095 100644 --- a/fluid/alignment_panel.fl +++ b/fluid/alignment_panel.fl @@ -282,7 +282,7 @@ Examples: } Fl_Check_Button ghosted_outline_button { label {Show Ghosted Group Outlines} - callback toggle_ghosted_outline_cb selected + callback toggle_ghosted_outline_cb tooltip {groups with no box type or flat boxtypes without contrast will be rendered with a dim outline in the editing window only} xywh {120 340 200 20} down_box DOWN_BOX labelsize 11 code0 {o->value(show_ghosted_outline);} } @@ -1565,6 +1565,36 @@ settings_window->hide();} } } } + Fl_Window {} {open + xywh {646 417 480 320} type Double visible + } { + Fl_Grid {} {open + xywh {25 25 240 160} + dimensions {3 3} + } { + Fl_Button {} { + label Button + xywh {25 25 80 66} + parent_properties { + location {0 0} + } + } + Fl_Light_Button {} { + label Button + xywh {105 25 80 66} + parent_properties { + location {0 1} + } + } + Fl_Button {} { + label Button selected + xywh {185 25 80 66} + parent_properties { + location {0 2} + } + } + } + } code {w_settings_tabs->do_callback(w_settings_tabs, LOAD);} {} } -- cgit v1.2.3