diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-09-06 17:02:08 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-09-06 17:02:13 +0200 |
| commit | 5ef29202ede1042da22044bb10017e2db04a89df (patch) | |
| tree | fe96cbf8769cddec45a783777afec61971556366 /FL | |
| parent | a683752e4b312530067e9973f489edf9476db744 (diff) | |
Fixes Fl_Tabs to be more robust.
No children in Fl_Tabs should no longer crash the draw
method. Also, drawing an Fl_Tabs with no children inside
is now defined and documented.
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Tabs.H | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/Fl_Tabs.H b/FL/Fl_Tabs.H index 8c83c1284..d251f4513 100644 --- a/FL/Fl_Tabs.H +++ b/FL/Fl_Tabs.H @@ -162,6 +162,9 @@ struct Fl_Menu_Item; \image html tabs_uniform.png "Fl_Tabs with uniform colors" \image latex tabs_uniform.png "Fl_Tabs with uniform colors" width=8cm + If Fl_Tabs has no children, the widget will be drawn as a flat rectangle + in the background color set by \ref color(). + \b Close \b Button \b on \b Tabs The Fl_Tabs widget allows you to specify that a child widget should display |
