[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.4/kdebase/runtime/kstyles/oxygen
From:       Hugo Pereira Da Costa <hugo.pereira () free ! fr>
Date:       2010-05-19 0:26:00
Message-ID: 20100519002600.5B5C1AC8BB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1128341 by hpereiradacosta:

backport r1128339
announce to kstyle that comboboxes and spinboxes can be painted frameless. This increases the 
available edition rect.

CCBUG: 237770


 M  +2 -0      oxygen.cpp  


--- branches/KDE/4.4/kdebase/runtime/kstyles/oxygen/oxygen.cpp #1128340:1128341
@@ -220,6 +220,7 @@
     setWidgetLayoutProp(WT_SpinBox, SpinBox::ButtonMargin+Right, 8);
     setWidgetLayoutProp(WT_SpinBox, SpinBox::ButtonMargin+Top, 5);
     setWidgetLayoutProp(WT_SpinBox, SpinBox::ButtonMargin+Bot, 4);
+    setWidgetLayoutProp(WT_SpinBox, SpinBox::SupportFrameless, 1);
 
     setWidgetLayoutProp(WT_ComboBox, ComboBox::FrameWidth, 4);
     setWidgetLayoutProp(WT_ComboBox, ComboBox::ContentsMargin, 0);
@@ -234,6 +235,7 @@
     setWidgetLayoutProp(WT_ComboBox, ComboBox::ButtonMargin+Top, 6);
     setWidgetLayoutProp(WT_ComboBox, ComboBox::ButtonMargin+Bot, 3);
     setWidgetLayoutProp(WT_ComboBox, ComboBox::FocusMargin, 0);
+    setWidgetLayoutProp(WT_ComboBox, ComboBox::SupportFrameless, 1);
 
     setWidgetLayoutProp(WT_ToolBar, ToolBar::FrameWidth, 0);
     setWidgetLayoutProp(WT_ToolBar, ToolBar::ItemSpacing, 1);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic