summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-12-06 19:49:16 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-12-06 19:49:16 +0100
commit39b5ae9e6e957582eddf16c86829d01473458e5d (patch)
treebe069833a7d87934af039341ce79c739fd6d535f /FL
parent8bf62c67cfb8349064e2d2104ce9049a233fd914 (diff)
Fix Fl_Window::size_range() documentation (STR 3352)
"Tiny window problem if child group larger than window" See Greg's comment 4: "something is wrong here: either the logic or the docs are incorrect, not sure which." It turned out that both were incorrect. Since we fixed the code this commit completes the STR by fixing the docs as well so they match the behavior.
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Group.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Group.H b/FL/Fl_Group.H
index 2271962b3..2d4cef152 100644
--- a/FL/Fl_Group.H
+++ b/FL/Fl_Group.H
@@ -162,6 +162,10 @@ public:
See the \ref resize chapter for more examples and detailed explanation.
+ \note The resizable() widget of a window can also affect the window's
+ resizing behavior if Fl_Window::size_range() is not called.
+
+ \see Fl_Window::size_range()
*/
void resizable(Fl_Widget* o) {resizable_ = o;}
/**