diff --git a/kstyle/breeze.h b/kstyle/breeze.h index d1c2c2b0..4c57c636 100644 --- a/kstyle/breeze.h +++ b/kstyle/breeze.h @@ -160,6 +160,9 @@ namespace Breeze ItemView_ArrowSize = 10, ItemView_ItemMarginWidth = 4, + // splitter + Splitter_SplitterWidth = 1, + // shadow Shadow_Size = 10, Shadow_Overlap = 4 diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index 48e62205..cb242079 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -463,8 +463,10 @@ namespace Breeze // dock widget // return 0 here, since frame is handled directly in polish case PM_DockWidgetFrameWidth: return 0; - case PM_DockWidgetTitleMargin: return Frame_FrameWidth; - case PM_DockWidgetTitleBarButtonMargin: return ToolButton_MarginWidth; + case PM_DockWidgetTitleMargin: return Metrics::Frame_FrameWidth; + case PM_DockWidgetTitleBarButtonMargin: return Metrics::ToolButton_MarginWidth; + + case PM_SplitterWidth: return Metrics::Splitter_SplitterWidth; // fallback default: return ParentStyleClass::pixelMetric( metric, option, widget );