From 3c375f39775cc450e05437d09543f179ff4ccc93 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 7 Mar 2017 00:20:26 +0000 Subject: Fix tab alignment. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Tabs.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3