Skip to main content

 –

Setting advanced presentation options for controls

Suggest edit Updated on December 1, 2021
Applicable to Theme Cosmos applications

Instead of creating a new custom format in the skin, save development time by adjusting the visual aspects of UI elements with Cascading Style Sheet (CSS) helper classes.

For example, you can use a CSS helper class to double the standard right margin for a given element.
  1. Open the view with the control that you want to edit.
    For more information, see Accessing views in your application.
  2. In the configuration pane on the right side of the window, hover over the control, and then click the Edit icon.
  3. On the Presentation tab, expand the Advanced presentation options section.
  4. Set any of the following options, as needed:
    • To apply one or more classes to the element when the form is displayed in read-write mode, next to the Cell read-write classes field, click the Open helper class picker icon, and then select the classes.

      You can manually enter several helper classes, separated by a space. Alternatively, you can enter the name of a custom style to apply to this element.

    • To apply one or more classes to the element when the form is displayed in read-only mode, next to the Cell read-only classes field, click the Open helper class picker icon, and then select the classes.

      You can manually enter several helper classes, separated by a space. Alternatively, you can enter the name of a custom style to apply to this element.

    • To define an inline style, in the Inline style (not for production use) field, enter the appropriate CSS code.

      Note: An inline style results in a guardrail warning. For maintainability and reuse, the recommended approach is to use read-write or read-only CSS classes.

  5. Click Apply.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us