Try the attached. It retains the existing layout but sets a different
size policy. But I can do a grid if you prefer.
rh
Jürgen Spitzmüller wrote:
> Richard Heck wrote:
>
>> Attached is a patch fixing bug 1550. It pre-empts my previous effort,
>> using radio buttons, as suggested by Abdel and JMarc, among others,
>> rather than a combo box, as previously.
>>
>
> Could you please layout the dialog in a grid? As it is now, it can be
> shrinked
> to almost zero.
>
> I tried to do that myself, but the dialog does, for some reason, not open
> properly in designer.
>
> Jürgen
>
--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Index: QParagraphUi.ui
===================================================================
--- QParagraphUi.ui (revision 17776)
+++ QParagraphUi.ui (working copy)
@@ -8,10 +8,18 @@
<rect>
<x>0</x>
<y>0</y>
- <width>493</width>
- <height>334</height>
+ <width>482</width>
+ <height>322</height>
</rect>
</property>
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>1</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="focusPolicy" >
<enum>Qt::NoFocus</enum>
</property>
@@ -21,15 +29,6 @@
<property name="sizeGripEnabled" >
<bool>true</bool>
</property>
- <widget class="QWidget" name="layoutWidget" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>10</y>
- <width>468</width>
- <height>301</height>
- </rect>
- </property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
@@ -361,7 +360,6 @@
</layout>
</item>
</layout>
- </widget>
</widget>
<tabstops>
<tabstop>linespacing</tabstop>