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

List:       kde-pim
Subject:    [Kde-pim] [PATCH] Fix resizing of Akonadiconsole
From:       "Dmitry Ivanov" <vonami () gmail ! com>
Date:       2008-05-03 19:19:03
Message-ID: 6df8d8b90805031219r4338825dh372872de1f894491 () mail ! gmail ! com
[Download RAW message or body]

Hi there,

This trivial patch fixes a very annoying issue (at least for me) of
Akonadiconsole:
ContentViewWidget doesn't want to get resized in the vertical direction because
it contains a KEditListBox whose size policy is set to
'MinimumExpanding' by default.
The patch sets the size policy to 'Preferred'.

May I commit it?

Dmitry

-- 
A: Because it destroys the flow of the conversation
Q: Why is top-posting bad?

["fix-akonadiconsole-resizing.diff" (text/x-patch)]

Index: browserwidget_contentview.ui
===================================================================
--- browserwidget_contentview.ui	(revision 803250)
+++ browserwidget_contentview.ui	(working copy)
@@ -230,6 +230,12 @@
        </item>
        <item row="4" column="0" colspan="2" >
         <widget class="KEditListBox" name="flags" >
+         <property name="sizePolicy" >
+          <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
+           <horstretch>0</horstretch>
+           <verstretch>0</verstretch>
+          </sizepolicy>
+         </property>
          <property name="title" >
           <string>Flags</string>
          </property>


_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

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

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