Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Styling a control

Updated on December 13, 2022
Applicable to Theme Cosmos applications

Customize an application to match the branding requirements of your business by changing the look of the interactive elements of the user interface. You can modify an application at run time by attaching format styles to individual controls, such as buttons or text fields.

For example, you can style all the OK buttons in your application green, to make them distinct from other buttons.
  1. Open the view 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, define any of the styles that you want to apply to the control:
    • In the Control format field, choose the format that you want to apply to the control by pressing the Down arrow key.
    • In the Label format field, choose the format that you want to apply to the label of the control by pressing the Down arrow key.
    For example: To assign a custom OK button format to a button in your application, in the Control format field, choose Other, and then set Other control format to OK button.
    Note: The available styling options might vary depending on the control.
  4. Click Apply.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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