From 3e6e241ae8335688053422f81c5207ce618f3e9b Mon Sep 17 00:00:00 2001 From: Jussi Laitinen Date: Wed, 1 Sep 2010 08:18:23 +0300 Subject: [PATCH] Added panel bar width to mask calculation. --- src/ui/tabbedpanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/tabbedpanel.cpp b/src/ui/tabbedpanel.cpp index 582066d..50f0344 100644 --- a/src/ui/tabbedpanel.cpp +++ b/src/ui/tabbedpanel.cpp @@ -143,7 +143,7 @@ void TabbedPanel::calculateMask() panelContextButtonBarRect.width(), panelContextButtonBarRect.height()); QRegion panelContentRegion(panelTabBarRect.right() + 1, 0, - PANEL_WIDTH, height()); + PANEL_WIDTH + PANEL_BAR_WIDTH, height()); QRegion panelRegion = panelTabBarRegion + panelContentRegion + panelContextButtonBarRegion; setMask(panelRegion); -- 1.7.9.5