Skip to main content

 

 

 

 

Template:OutSystems/Documentation_KB/Breadcrumb_New_Layout

 

 

Template:OutSystems/OSLanguageSwitcher

 

Applies only to Mobile Apps and Reactive Web Apps

 

 

OutSystems

Center Content

Template:OutSystems/Documentation_KB/ContentCollaboration
  • Edit
    Collaborate with us
    Edit this page on GitHub
  • You can use the Center Content UI Pattern Use to align the content to the center of its container.

    How to use the Center Content UI Pattern

    1. In Service Studio, in the Toolbox, search for Center Content.

      The Center Content widget is displayed.

    2. From the Toolbox, drag the Center Content widget into the Main Content area of your application's screen.

      By default, the Center Content widget contains Top, Center, and Bottom placeholders.

    3. Add the relevant content to each of the placeholders. In this example we add some images and text.

    After following these steps and publishing the module, you can test the pattern in your app.

    Properties

    Property Description
    ExtendedClass (Text): Optional

    Add custom style classes to the Center Content UI Pattern. You define your custom style classes in your application using CSS.

    Examples

    • Blank - No custom styles are added (default value).
    • ''myclass'' - Adds the myclass style to the Center Content UI styles being applied.
    • ''myclass1'' ''myclass2'' - Adds the myclass1 and myclass2 styles to the Center Content UI styles being applied.
    • Was this article helpful?