[Interest] Layout expanding not as I would like...
etienne.sandre at m4x.org
Wed Apr 10 14:20:20 CEST 2013
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 75.
> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest