<div class="gmail_quote">On Thu, Jul 14, 2011 at 2:18 AM, Steven Kakoczky <span dir="ltr"><<a href="mailto:steven.kakoczky@gmail.com">steven.kakoczky@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<div>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?</div>
</blockquote><div><br>Insert a QSpacerItem at the bottom and set it to expand vertically. <br></div></div>