From 5ef29202ede1042da22044bb10017e2db04a89df Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 6 Sep 2023 17:02:08 +0200 Subject: 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. --- FL/Fl_Tabs.H | 3 +++ 1 file changed, 3 insertions(+) (limited to 'FL') 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 -- cgit v1.2.3