summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_Tabs.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Tabs.cxx b/src/Fl_Tabs.cxx
index eaba0dbbb..624ba681c 100644
--- a/src/Fl_Tabs.cxx
+++ b/src/Fl_Tabs.cxx
@@ -429,7 +429,7 @@ void Fl_Tabs::draw_tab(int x1, int x2, int W, int H, Fl_Widget* o, int what) {
// Draw the label using the current color...
o->labelcolor(sel ? labelcolor() : o->labelcolor());
- o->draw_label(x1, y() + h() - H, W, H - yofs, FL_ALIGN_CENTER);
+ o->draw_label(x1, y() + h() - H, W, H - yofs, tab_align());
if (Fl::focus() == this && o->visible())
draw_focus(box(), x1, y() + h() - H, W, H);