Presentation styles changes

Modifications to consider when using presentation styles.

common.imageCache (GDC specific) style attribute is desupported

Starting with GDC 3.20.02, the imageCache style attribute is no longer supported.

The imageCache style attribute was only available with the GDC front-end, to indicate if the image resource of a form element had to be cached by the front-end. By default, images for image fields (typically changing at runtime) were not cached, while images of static form items (Button, TopMenu item, Toolbar item) were cached.

Note: The front-end file cache management has been improved in Genero 3.20. For more details about image resource handling, see The resource file cache of the front-end.

Action views rendering in GBC chrome bar

Starting with GBC 1.00.51, the value "chrome" can be used for the following Window style attributes:
  • actionPanelPosition
  • ringMenuPosition
  • toolBarPosition

When setting one of these style attributes to the value "chrome", the action views of the corresponding panel are rendered in the GBC chrome bar.

On mobile devices, this will follow Material Design specification.

For more details, see Action views with GBC.

Collapsible groups (with GBC)

Since GDC 1.00.52, group elements in grid-based or stack-based form layouts can be defined as collapsible with new presentation style attributes:
  • collapsible: When set to "yes", makes the group element collapsible by the end user.
  • initiallyCollapsed: When set to "yes", forces the group to be collapsed when the form is displayed the first time.
  • (Starting with GBC 1.00.53) collapserPosition: Can be set to "left" or "right" to define the position of the collapser icon.

For more details, see Collapsible groups.

folder.collapserPosition (with GBC)

Starting with GBC 1.00.53, the collapserPosition style attribute can be set to "left" or "right" to define the position of the collapser icon, when the position style attribute is defined to "accordion" for the folder.

For more details, see FOLDER rendering.

HBox.splitViewRendering supported by GBC

Starting with GBC 1.00.52, HBOX containers can be rendered as split views in GBC, when the width of the webview is lower than a pre-defined number of pixels.

For more details, see Rendering an HBOX as a splitview.

Button.alignment style attribute

The alignment style attribute for BUTTON form items is now supported by:
  • GMA 1.40.03

For the possible values of this attribute, see Button style attributes.