Applies to controls displayed on layouts of Smart Devices objects. The property specifies whether the control occupies space or not when its Visible property is set to false.
There is a need to provide a more beautiful and polished UX on Smart Device's apps. GeneXus is adding flexibility and power to the developer to do more dynamic screens, adapt to all states of the application, and do better UI being able to customize more elements.
This property enables the developer to add hidden information on the screen that does not occupy space and when the user triggers an event it can make this hidden info appear and disappear moving the rest of the elements so the UI keeps looking good.
||The layout maintains the control's space even though the control is not visible. This is the default value.
||The layout collapses the space, letting other controls use the space. Also, when the Animated property is enabled at theme level, there will be a smooth(1) transition between the both states (visible and invisible, and vice versa).
Note: (1) Available as of GeneXus 15 Upgrade 4
When a control is not visible there can be two possible behaviors. One is to reserve the space that the control should occupy even though it is not visible and the second is when other controls of the layout can copy the space of a control that is not visible.
The object has to be built.
You can see a working example on this sample.
Or you can follow the steps of the following HowTo document.
GeneXus 15 Upgrade 4