On Thu, Jul 14, 2011 at 2:18 AM, Steven Kakoczky
<steven.kakoc...@gmail.com>wrote:

> Hi all,
> I have made a sidebar for notes and am having difficulty figuring out how
> to insert notes into it and have them stretch to fill the side bar
> horizontally but keep it's minimum size vertically. For the time being I'm
> just using a QVBoxLayout and it stretches all child widgets to fill it and I
> don't want this to happen, but nothing I've changed has been able to work
> how I want it too. I was just wondering if it was possible to force minimum
> height for child widgets, if so how, and if not what would be the best
> option to go with?
>

Insert a QSpacerItem at the bottom and set it to expand vertically.
_______________________________________________
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel

Reply via email to