Columns
You can use the Columns UI Pattern to split content into separate columns, improving the way information is displayed on screen.
How to use the Columns UI Pattern
-
In Service Studio, in the Toolbox, search for
Columns
.The various Column widgets are displayed.
-
From the Toolbox, drag the required Column widget into the Main Content area of your application's screen. In this example, we drag the Columns 2 widget onto the screen.
-
Add the required content to the Column widget, for example, images, forms, text. In this example, we add some images and text.
-
On the Properties tab, you can customize the Colums's look and feel by setting any of the optional properties, for example, the size of columns and space between each of the columns (GutterSize), and in what order the columns display on different device types.
After following these steps and publishing the module, you can test the pattern in your app.
Properties
Property | Description |
---|---|
GutterSize (GutterSize Identifier): Optional | Set the gutter size. The default Gutter size is large. Examples
|
TabletBehavior (BreakColumns Identifier): Optional | Defines how the columns are displayed on tablets. The predefined options for the tablet behavior are:
See below for an example of how each setting displays. |
PhoneBehavior (BreakColumns Identifier): Optional | Defines how the columns are displayed on phones. The predefined options for the phone behavior are:
See below for an example of how each setting displays. |
ExtendedClass (Text): Optional | Add custom style classes to the Columns UI Pattern. You define your custom style classes in your application using CSS. Examples
|
The following are examples of how the columns are displayed on each of the devices, depending on which property you select.
Entities.BreakColumns.None
Entities.BreakColumns.Middle
Entities.BreakColumns.Last
Entities.BreakColumns.First