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.

Scenarios

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.

Values

Keep Space The layout mantains the control's space even though the control is not visible. This is the default value.
Collapse Space The layout collapses the space, letting other controls use the space.

Description

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 occpy the space of a control that is not visible.

How to Apply changes

The object has to be built.

Example

You can see a working example on this sample.

Or you can follow the steps of the following HowTo document.

Availability

GeneXus X Evolution 2 Upgrade 4