summaryrefslogtreecommitdiff
path: root/fluid/alignment_panel.fl
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-11-05 20:04:43 +0100
committerMatthias Melcher <github@matthiasm.com>2023-11-05 20:04:49 +0100
commit1f5472a7d37af7909c1daa37bb5aee7296df170a (patch)
tree9ff3fde1ce50587c5ce3b27e55593cb8f27dc788 /fluid/alignment_panel.fl
parent0ae927a00e9ecd45a45edf004e939ab2e5ce4813 (diff)
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.
Diffstat (limited to 'fluid/alignment_panel.fl')
-rw-r--r--fluid/alignment_panel.fl32
1 files changed, 31 insertions, 1 deletions
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);} {}
}