Margin Container
You can use the Margin Container UI Pattern to add symmetrical padding around a container.
How to use the Margin Container UI Pattern
-
In Service Studio, in the Toolbox, search for
Margin Container
.The Margin Container widget is displayed.
-
From the Toolbox, drag the Margin Container widget into the Main Content area of your application's screen.
You can add as many Margin Container widgets as you want. In this example, we add 2.
-
Add the relevant content to the Margin Container placeholder.
In this example we add an image widget to each of the placeholders and on the Properties tab, import an image using the Image dropdown.
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 Margin Container UI Pattern. You define your custom style classes in your application using CSS. Examples
|