From 376ef1c9c67e1dabe5252a336768d4e54ba6e950 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Thu, 25 Sep 2014 14:18:28 +0200 Subject: [PATCH] force kpagewidget margins to zero --- kstyle/breezestyle.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index bc760639..cff74e44 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -483,6 +483,10 @@ namespace Breeze return Metrics::Layout_TopLevelMarginWidth; + } else if( widget && widget->inherits( "KPageView" ) ) { + + return 0; + } else { return Metrics::Layout_ChildMarginWidth;