diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-03-07 00:20:26 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-03-07 00:20:26 +0000 |
| commit | 3c375f39775cc450e05437d09543f179ff4ccc93 (patch) | |
| tree | 8920db5fe3974f1a0191c09ccf795de07bc18ac8 /src | |
| parent | 18bb55545e6f99e9ab80900db65222e8b98aee13 (diff) | |
Fix tab alignment.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Tabs.cxx | 2 |
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); |
