I wanted to implement sort of expanding panel, when you have a thing panel at the top, then you click at it, then it becomes bigger, please see attached image
I use fpGUI
I have two panels, the first has Align = alTop, the second has Align = alClient;
Then I change the height of the upper panel form, say, 15 to 115 pixels // at runtime
If I read Height property, it shows what I assigned to it // I assigned 115 => it returns 115
But when I look at my window, it is no different, the visual height of the panel is not changing.
Why? This I don't know. Maybe the layout does not get realigned? Is this feature not implemented? Is this supposed to work like this?
I appreciate any information
P.S.: I expect picture 1 change to picture 2 after I assign Height property of upper panel, but I get picture 1 not changed instead