Skip to main content
LinkedIn
Copied!

Table of Contents

Setting advanced presentation options for controls

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.

      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.

Related Content

Did you find this content helpful?

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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us