summaryrefslogtreecommitdiff
path: root/fluid/factory.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-11-02 15:18:03 +0100
committerMatthias Melcher <github@matthiasm.com>2023-11-02 15:18:09 +0100
commit9ca4aed1fa13df227ddebe4fed4353d9156ab414 (patch)
tree1dd01a98891b7941126f6ad377b436f21bbf5da9 /fluid/factory.cxx
parent040607b59574f39d92d3cc03dd10e347790869d3 (diff)
FLUID: Adds more interactive editing to Fl_Grid
* this commit introduces a few FIXMEs and TODOs that probably can't be solved until we do some major refactoring. They work for now, but adding more layout controlling widgets will be hard.
Diffstat (limited to 'fluid/factory.cxx')
-rw-r--r--fluid/factory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/factory.cxx b/fluid/factory.cxx
index 599fff25b..cd25e96df 100644
--- a/fluid/factory.cxx
+++ b/fluid/factory.cxx
@@ -1205,7 +1205,7 @@ Fl_Type *add_new_widget_from_user(Fl_Type *inPrototype, Strategy strategy) {
&& (layout->top_tabs_margin > 0)) {
// If the widget is a group and the parent is tabs and the top tabs
// margin is set (and the user is not requesting a specific position)
- // then prefit the group correctly to the Tabs container.
+ // then prefit the group correctly to the Tabs container.
Fl_Widget *po = ((Fl_Tabs_Type*)wt->parent)->o;
wt->o->resize(po->x(), po->y() + layout->top_tabs_margin,
po->w(), po->h() - layout->top_tabs_margin);