vcl/source/control/tabctrl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 53cdabd648d1e5bb4cd1947c281d514d7f34c350
Author: Caolán McNamara <caol...@redhat.com>
Date:   Tue Apr 28 20:59:53 2015 +0100

    better tab header area
    
    Change-Id: I149bec0b91bf1d148f1247017d83acfb15c81428

diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 1931ac9..a0553a3 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 );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to