diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-28 20:59:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-28 20:59:53 +0100 |
commit | 53cdabd648d1e5bb4cd1947c281d514d7f34c350 (patch) | |
tree | 4d442410ff811562402d713b3b45b8da56951206 | |
parent | e0dea29e27c18698af65386db0a7e3b5b140c3dc (diff) |
better tab header area
Change-Id: I149bec0b91bf1d148f1247017d83acfb15c81428
-rw-r--r-- | vcl/source/control/tabctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index 1931ac9b36aa..a0553a3c120e 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -1118,7 +1118,7 @@ void TabControl::ImplPaint( const Rectangle& rRect, bool bLayout ) if (IsNativeControlSupported(CTRL_TAB_HEADER, PART_ENTIRE_CONTROL)) { - Rectangle aHeaderRect(0, 0, GetSizePixel().Width(), aRect.Top()); + Rectangle aHeaderRect(aRect.Left(), 0, aRect.Right(), aRect.Top()); aClipRgn = GetActiveClipRegion(); aClipRgn.Intersect( aHeaderRect ); |