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

List:       kde-commits
Subject:    =?utf-8?q?=5Bkcm-grub2=5D_ui=3A_Change_resolution_comboboxes=27_?=
From:       Konstantinos Smanis <konstantinos.smanis () gmail ! com>
Date:       2011-04-20 23:13:18
Message-ID: 20110420231318.88AC5A60A9 () git ! kde ! org
[Download RAW message or body]

Git commit 64d44268572df3d6932a133fcec75128bd1700f0 by Konstantinos Smanis.
Committed on 20/04/2011 at 11:23.
Pushed by ksmanis into branch 'master'.

Change resolution comboboxes' size adjust policy to AdjustToContents.

Custom input is allowed so AdjustToContentsOnFirstShow doesn't fit.

M  +10   -2    ui/kcm_grub2.ui     

http://commits.kde.org/kcm-grub2/64d44268572df3d6932a133fcec75128bd1700f0

diff --git a/ui/kcm_grub2.ui b/ui/kcm_grub2.ui
index 9d28470..4988369 100644
--- a/ui/kcm_grub2.ui
+++ b/ui/kcm_grub2.ui
@@ -247,7 +247,11 @@
            </widget>
           </item>
           <item row="0" column="1">
-           <widget class="QComboBox" name="comboBox_gfxmode"/>
+           <widget class="QComboBox" name="comboBox_gfxmode">
+            <property name="sizeAdjustPolicy">
+             <enum>QComboBox::AdjustToContents</enum>
+            </property>
+           </widget>
           </item>
           <item row="1" column="0">
            <widget class="QLabel" name="label_gfxpayload">
@@ -257,7 +261,11 @@
            </widget>
           </item>
           <item row="1" column="1">
-           <widget class="QComboBox" name="comboBox_gfxpayload"/>
+           <widget class="QComboBox" name="comboBox_gfxpayload">
+            <property name="sizeAdjustPolicy">
+             <enum>QComboBox::AdjustToContents</enum>
+            </property>
+           </widget>
           </item>
          </layout>
         </widget>

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

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