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

List:       kde-commits
Subject:    [kcmgrub2] /: Improve security tab (Better use available space)
From:       Alberto Mattea <alberto () mattea ! info>
Date:       2012-03-20 21:57:11
Message-ID: 20120320215711.475F7A60A9 () git ! kde ! org
[Download RAW message or body]

Git commit 5e147ae501d183acdb16729265aa0d699877dbe7 by Alberto Mattea.
Committed on 20/03/2012 at 22:56.
Pushed by mattea into branch 'master'.

Improve security tab (Better use available space)

M  +17   -5    kcmgrub2.ui

http://commits.kde.org/kcmgrub2/5e147ae501d183acdb16729265aa0d699877dbe7

diff --git a/kcmgrub2.ui b/kcmgrub2.ui
index 0fb7471..828d650 100644
--- a/kcmgrub2.ui
+++ b/kcmgrub2.ui
@@ -6,7 +6,7 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>549</width>
+    <width>560</width>
     <height>524</height>
    </rect>
   </property>
@@ -480,7 +480,7 @@
        <item row="1" column="0">
         <widget class="QGroupBox" name="usersGroup">
          <property name="sizePolicy">
-          <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+          <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
@@ -492,7 +492,7 @@
           <item row="0" column="0">
            <widget class="QTableWidget" name="users">
             <property name="sizePolicy">
-             <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
+             <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
@@ -509,6 +509,9 @@
             <property name="columnCount">
              <number>3</number>
             </property>
+            <attribute name="horizontalHeaderDefaultSectionSize">
+             <number>200</number>
+            </attribute>
             <attribute name="horizontalHeaderShowSortIndicator" stdset="0">
              <bool>false</bool>
             </attribute>
@@ -570,7 +573,7 @@
        <item row="2" column="0">
         <widget class="QGroupBox" name="groupsGroup">
          <property name="sizePolicy">
-          <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+          <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
@@ -582,7 +585,7 @@
           <item row="0" column="0">
            <widget class="QTableWidget" name="groups">
             <property name="sizePolicy">
-             <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
+             <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
@@ -593,9 +596,15 @@
             <property name="selectionBehavior">
              <enum>QAbstractItemView::SelectRows</enum>
             </property>
+            <property name="wordWrap">
+             <bool>true</bool>
+            </property>
             <property name="columnCount">
              <number>3</number>
             </property>
+            <attribute name="horizontalHeaderDefaultSectionSize">
+             <number>200</number>
+            </attribute>
             <attribute name="horizontalHeaderStretchLastSection">
              <bool>true</bool>
             </attribute>
@@ -639,6 +648,9 @@
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
+         <property name="sizeType">
+          <enum>QSizePolicy::Minimum</enum>
+         </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
[prev in list] [next in list] [prev in thread] [next in thread] 

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