anchors

Hi,

I am testing with labels and anchors.
Set the anchors of the three labels below to l,t,r,b
normal window size is oke, resized window does not show the lables as I would like to :

[attachment=1]nonscaled.png[/attachment]

[attachment=0]resized.png[/attachment]

What am I doing wrong, or is this not possible ???

Regards,

Hi Hans,

The way you set it now is as it behaves.
So that’s expected.
Normally you would have 1 label anchor left, 1 label anchor right, 1 label anchor left/right.
Top/bottom anchoring can be set as you please.

In case you want the labels to be distributed evenly, you will have to write a method which will be triggered on show/on resize of windows.
Within the method:
1- determine the width of the window
2- set the label x-position/width at runtime