<div dir="ltr"><div>It might be better also to attach ui file, so people can really see the source.<br><br></div><div>Possible problems as I can guess:<br></div><div><br>- You do not have widget (top) layout which created.<br>
</div><div>If this is a case in designer click outside red boxes and click pn create vertical layout icon.<br><br></div><div>-
 You are trying to re-size dialog in 2 directions. Both directions 
matters, you might want to add resizer at the bottom to avoid scaling.<br><br></div><div>Regards,<br></div>    Alex</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 10, 2013 at 5:21 PM, Alex Malyushytskyy <span dir="ltr"><<a href="mailto:alexmalvtk@gmail.com" target="_blank">alexmalvtk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div dir="ltr"><div>It might be better also to attach ui file, so people can really see the source.<br>
<br></div><div>Possible problems as I can guess:<br></div><div><br>- You do not have widget (top) layout which created.<br>
</div><div>If this is a case in designer click outside red boxes and click pn create vertical layout icon.<br><br></div><div>-
 You are trying to re-size dialog in 2 directions. Both directions 
matters, you might want to add resizer at the bottom to avoid scaling.<br><br></div><div>Regards,<br></div>    Alex</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Wed, Apr 10, 2013 at 5:20 AM, Etienne Sandré-Chardonnal <span dir="ltr"><<a href="mailto:etienne.sandre@m4x.org" target="_blank">etienne.sandre@m4x.org</a>></span> wrote:<br>

</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>The second image (showing the problem) is missing:<br><a href="http://imageshack.us/a/img577/7843/example2e.png" target="_blank">http://imageshack.us/a/img577/7843/example2e.png</a><br>

<br></div>Sorry,<br><br></div>
Etienne<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/10 Etienne Sandré-Chardonnal <span dir="ltr"><<a href="mailto:etienne.sandre@m4x.org" target="_blank">etienne.sandre@m4x.org</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Dear interest users,<br><br></div>Another question about layouts.<br><br></div>


I have a few labels in a small table layout. This layout is nested in a horizontal layout with a spacer on the right. The "Xn", "Yn" and "Zn" label policies are set to "Fixed" as this will never change in the app. The "N/A" labels will be updated to numbers by the app, so size is set to "preferred". The following picture shows how resizing works:<br>



<a href="http://imageshack.us/a/img594/8161/example1m.png" target="_blank">http://imageshack.us/a/img594/8161/example1m.png</a><br><br></div>Then, I set the "N/A" labels to "Expanding", and their maximum size to 75.<br>



</div>When increasing the layout size, it starts working properly, the "N/A" label expands. But when reaching the maximum size of 75, now the layout expands everything by increasing its margins. I would expect to increase only the spacer as in the first image, as the maximum size is reached.<br>



<br></div>How can I fix this behavior?<br><br>Thanks,<br><br>Etienne<br></div>
</blockquote></div><br></div>
</div></div><br></div></div><div class="im">_______________________________________________<br>
Interest mailing list<br>
<a href="mailto:Interest@qt-project.org" target="_blank">Interest@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/interest" target="_blank">http://lists.qt-project.org/mailman/listinfo/interest</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div>