Expand Bounds property

Official Content
This documentation is valid for:

Indicates how much the content can be expanded.

Values

Background Only  Default value. The container control will expand only its background, not its content. Embedded controls can be expanded and allow scroll on them (if the control admits it).
Background & Content  The container control will expand both background and content, allowing embedded controls be positioned on the expanded area.
None The container control won't be expanded. This value disables Expand Bounds Directions property and Expand Bounds Limit property.

Description 

Let's analyze the behavior in each case running a simple app on an iPhone X, focused on landscape mode where unsafe areas (green color) appear on both sides of the screen (because of the presence of the notch). Suppose we've got a WorkWithDevicesCountry object whose List node is defined as the following image. We'll display the effect of varying Expand Bounds property for the Main Table on the layout.

Expand Bounds property - Sample - Transaction

None value

The control is not expanded and remains in the safe area of the screen.

Expand Bounds property - None

Background only

The background of the control (Main Table) is expanded beyond the unsafe area but not its content (Grid's rows content  ).
This fact is evidenced by remaining the original padding on both sides on the screen (appreciable only on the left, but also it's on the right) only respect the flag icon.

Expand Bounds property - Backtground only

Background & content

The background of the control (Main Table) and its content (Grid's rows content) are expanded beyond the unsafe area. 
This fact is evidenced by the absence of paddings.

Expand Bounds property - Background and Content

 

Run-time/Design-time

This property applies only at design-time.

Scope

Controls: Grid controlTab controlCanvas control, Table control
Platforms: Smart Devices(IOS)

Availability

This property is available as of GeneXus 15 Upgrade 8

See also

 



Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.