[Qt-interest] How to make a dialogue box with scroll bars?
Robert Wood
robert.wood at apostrophe.co.uk
Thu Mar 24 13:07:27 CET 2011
Ahhh, got it! Was looking in the wrong place for set vertical. Been a
year or so since I used Designer and had forgotten about that way of
setting up widgets. .
Many thanks again. :~) Designer is actually pretty complex in its own
right, I find a lot of the layout stuff really hard to get right.
On 24/03/11 11:18, Robert Wood wrote:
> On 23/03/11 23:21, Tony Rietwyk wrote:
>> I created the attached by these steps in 4.6.0 designer:
>>
>> - Create the dialog
>> - Drag a scroll area onto the dialog
>> - Set the dialog layout to vertical
>> - Drag a frame onto the scroll area widget
>> - Set the scroll area layout to vertical (which actually sets it on the
>> internal scroll area widget).
>> - Dragged several buttons onto the frame
>> - Changed their minimum height to 100
>> - Set the frame layout to vertical
>>
>> Voila!
>>
>> Hope that helps,
>>
>> Tony
>
> Hi Tony,
>
> That looks like the sort of thing I am after, thanks! Am frustrated to
> say that I can't even work out how to set the layouts to be "vertical".
> I can see things like "Vertical Policy" in the "size Policy" setting.
> Problem with setting that is there is no way to stretch anything to
> place the nine rows of five buttons!
>
> I'm obviously missing something and don't understand what setting area
> layouts be vertical means.
>
> Thanks again,
>
> Rob
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list