Hello, I have two layout files and I loaded them like so:
Activity.LoadLayout("Layout")
pnlMainPage.LoadLayout("content")
My main layout is just a panel centered on the screen as shown below:
And the content layout has the following arrangement:
Now, when I anchor Button1 to the
bottom of the content layout, this is what I get as the end result:
And when I anchor it to the top, I rather get the following image as the output:
It seems the anchor is doing exactly opposite what I am expecting. Please is this a bug or I still haven't understood the concept of layouts well? Thank you.