I am looking for a way to design a UI for a mobile app wich changes the arrangement of some controls when the orientation of the display changes.
What I want is a orientation corresponding view like this:
These are the most intuitive solutions I found:
Put the buttons on a TFlowLayout and set Width and Height of those in the OnResize event of the form.
Set Align, Widthand Heightof Button1 in the OnResize event of the form while Button2s alignmet is set to Client.
I’m searching for a method to achieve this behaviour without adding any code. I have read several tutorials about layouts which are provided by Embarcadero, but I couldn’t figure out if this is possible or not.
Do you have any ideas?