Adding a Slide-Out Area
This page is for application designers who want to create parts of a screen that open to show additional information.
Finding Slide-Outs
To add a slide-out or expanding area to your screen, drag onto the screen canvas one of the components available from the Palette → Serene Grey → Tiles. There are two types:
- Collapsible tile
- Sliding draw
Collapsible Tiles
This is a complete tile which expands either horizontally or vertically to display additional content.
The horizontal collapsible tile is designed to work where the tile container Flow is set to Row. The screenshot below shows the tile expanding to the left of the grid.
The vertical collapsible tile is designed to work where the tile container Flow is set to Column. The screenshot below shows the tile expanding below the grid.
Sliding Draw Tiles
A sliding draw tile has a hidden area that expands to display additional content. There are four tiles, which slide out in different directions. The following screenshot shows the draw sliding out on the right of the grid.
Adding Components to a Slide-Out
To add components to the hidden area using the Layers panel:
- In the screen, select the slide-out tile
- Click Show/Hide Layer Panel to display the layers panel, which should have the tile parent component selected
- Use the list to find the hidden area in the tile
- Drag components from elsewhere in the layers panel list into the hidden area
To add components to the hidden area on the screen canvas:
- Lock the screen
- Click the chevron to expand the slide-out area
- Unlock the screen
- You can now drag components into the slide-out area
If you need to move items after you have added them, see Moving Content on a Screen.
Resizing Slide-Outs
The collapsible tile expands to 350px. To change the expanded size of a collapsible tile on your screen canvas:
- Click on the tile to open its properties
- Click the Styles tab
- In the CSS Properties section, double-click the style minWidth or minHeight (depending on the tile) and change
350px
to the size you require - Click Apply and Close to save your changes
- Either Refresh or close and reopen the screen to see the change
To change the size of a sliding draw tile:
- Unlock your screen
- Drag the dividing line between the sliding draw and the main area to the size you require
- Lock your screen and test the proportions of the tile