Modifying the presentation options of the dynamic layout
Define the look and behavior of the dynamic layouts in your user interface to build a responsive application that meets your business needs.
In the navigation pane of Dev Studio, click Records.
Expand the User Interface category, and then click Section.
From the section list, select the section that contains the target layout.
In the Dynamic layout header, click the View properties icon.
In the Dynamic layout properties window, click the Presentation tab.
Define the markup that you want to use for the layout:
Responsive layouts use flexboxes, while legacy markup relies on inline blocks when setting several layouts side-by-side.
- To select the default responsive layout that updates automatically with each release, select Optimize layout, markup, and CSS with new releases (recommended).
- To select a static layout that is consistent with Pega Platform release 7.x markup, select Use static legacy layout, markup, and CSS, and then select your Pega Platform version.
In the Float field, define the CSS float settings for your layout.To float a dynamic layout to the rightmost corner of the container in which the dynamic layout is hosted, select Right.
To ensure that the width settings permit the layout to float, select the Set layout width to auto check box.This check box is enabled by default if you set the Float option to Left or Right.Clear this check box if the Layout width for the dynamic layout format in the skin is less than 100%.
To specify custom CSS behavior, select the Display advanced presentation options check box, and then define the settings by performing any number of the following actions:
- If your dynamic layout contains other layouts that are floated, to ensure that the
top-level dynamic layout does not take up space and permits nested layouts to inherit
styling, select the Self-clear check box.This setting applies only to IE10 and Chrome browsers.
- To display the layout group below other floated layout groups within the container in which it is hosted, select the Clear floated layouts check box.
- To define inline style for the layout, in the Inline style (not for
production use) field, enter CSS code.Entering inline style produces a guardrail warning. For maintainability and reuse, use a custom CSS class. For more information, see CSS helper classes.
- To specify the styling of the layout container, in the Content CSS class list, select a predefined class or click the Open class editor icon to see a list of available helper classes.
- If your dynamic layout contains other layouts that are floated, to ensure that the top-level dynamic layout does not take up space and permits nested layouts to inherit styling, select the Self-clear check box.
To override the spacing between items that is set in the dynamic layout skin, select the options for the Top, Right, Bottom and Left fields.
On the section form, click Save.