Added panel bar width to mask calculation.
[situare] / src / ui / tabbedpanel.cpp
index 582066d..50f0344 100644 (file)
@@ -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);