summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Tabs.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl_Tabs.cxx b/src/Fl_Tabs.cxx
index 89394ac05..1fc025210 100644
--- a/src/Fl_Tabs.cxx
+++ b/src/Fl_Tabs.cxx
@@ -1117,6 +1117,10 @@ Fl_Tabs::~Fl_Tabs() {
\note Children should always use the same positions and sizes.
+ \note This function requires access to the display drivers to determine the
+ selected font height. If `client_area` is invoked before the first window is
+ displayed, ensure that `fl_open_display()` is called beforehand.
+
\p tabh can be one of
\li 0: calculate label size, tabs on top
\li -1: calculate label size, tabs on bottom