Tuto WINDEV Mobile 25
Part 5: Android and iOS: Developing an application 137 All controls found in portrait mode are also displayed in landscape mode but a lot of space is not used and the window must be scrolled to access all controls. We are going to improve the display in landscape mode via layouts. Remark The layout is used to define several views of a window in the same project without duplicating this window. This gives you the ability to define: • a specific view for the portrait mode, • a specific view for the landscape mode, • a view specific to the phone, • a view specific to the tablet, • ... ▶ To create a new layout: 1. Open the "WIN_Product_form" window if necessary. 2. On the "Window" pane, in the "Layouts" group, expand "Layouts" and select "Add layouts". 3. The wizard for creating a layout starts. 4. Go to the next step of the wizard.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==