Skip to main content

 

 

 

Template:OutSystems/Documentation_KB/Breadcrumb_New_Layout

 

 

Template:OutSystems/OSLanguageSwitcher

 

Applies only to Mobile Apps and Reactive Web Apps

 

 

OutSystems

Progress Bar

Template:OutSystems/Documentation_KB/ContentCollaboration
  • Edit
    Collaborate with us
    Edit this page on GitHub
  • You can use the Progress Bar to display percentage values by incrementing values in a bar and to show the current progress of a task flow.

    How to use the Progress Bar UI Pattern

    1. In Service Studio, in the Toolbox, search for Progress Bar.

      The Progress Bar widget is displayed.

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

    3. On the Properties tab, in the Progress property, enter the progess percentage. In this example we enter 55 but you can also use functions or local variables.

    4. Add the text you want to appear as the Progress Bar title. In this example, we add On Going.

    5. On the Properties tab, you can customize Progress Bar's look and feel by setting any of the optional properties, for example, the shape, color, and size of the Progress Bar.

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

    Properties

    Property Description
    Progress (Integer): Mandatory Percentage displayed on progress bar. You can use integers (usually between 0 and 100), functions, or local variables.
    Color (Color Identifier): Optional Progress bar color. Red, orange, yellow, lime, green, blue, violet, and pink are just some of predefined colors available for the badge.

    Examples

    • Blank - The progress bar color is the color you chose when creating the app (default value).
    • Entities.Color.Red - The progress bar color is red.
    Height (Integer): Optional Progress Bar height (in pixels). The default value is 12.
    AnimateInitialProgress (Boolean): Optional If True, the percentage progress in the progress bar is animated. This is the default. If False, the progress is not animated.
    Text (Text): Optional Deprecated in OutSystems UI.
    Shape (Shape Identifier): Optional Set the Progress Bar shape. The predefined options are:
    • Rounded
    • Soft Rounded
    • Sharp

    Examples

    • Blank - The Progress Bar has a rounded shape (Entities.Shape.Rounded). This is the default.
    • Entities.Shape.Sharp - The Progress Bar has a sharp shape.
    ExtendedClass (Text): Optional Add custom style classes to the Progress Bar 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 Progress Bar UI styles being applied.
    • ''myclass1'' ''myclass2'' - Adds the myclass1 and myclass2 styles to the Progress Bar UI styles being applied.
    • Was this article helpful?