[Interest] Layout expanding not as I would like...
alexmalvtk at gmail.com
Thu Apr 11 02:21:48 CEST 2013
It might be better also to attach ui file, so people can really see the
Possible problems as I can guess:
- You do not have widget (top) layout which created.
If this is a case in designer click outside red boxes and click pn create
vertical layout icon.
- 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.
On Wed, Apr 10, 2013 at 5:21 PM, Alex Malyushytskyy <alexmalvtk at gmail.com>wrote:
> It might be better also to attach ui file, so people can really see the
> Possible problems as I can guess:
> - You do not have widget (top) layout which created.
> If this is a case in designer click outside red boxes and click pn create
> vertical layout icon.
> - 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.
> On Wed, Apr 10, 2013 at 5:20 AM, Etienne Sandré-Chardonnal <
> etienne.sandre at m4x.org> wrote:
>> The second image (showing the problem) is missing:
>> 2013/4/10 Etienne Sandré-Chardonnal <etienne.sandre at m4x.org>
>>> Dear interest users,
>>> Another question about layouts.
>>> 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:
>>> Then, I set the "N/A" labels to "Expanding", and their maximum size to
>>> 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.
>>> How can I fix this behavior?
>> Interest mailing list
>> Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest