Hi,
I am setting the anchors to BOTH.. Unless I am doing it wrong?
Here is how I have it setup:
(Demo project attached)
I have set Label1 to BOTH (Label1 is also a Parent to Panel1):
I then moved Panel1 manually and Label1 moves with it, which is what I want:
I then want panel1 to be 100% of the width of the screen so I used the designer code to do it.
However, you will notice that Label1 doesn't move when I run the script even knowing when I manually drag Panel1 (not running the script) that Label1 moves like how it should.
Am I using the anchor feature wrong?