Header & Sidebar Layout
The Goal
With Adapptio, you can construct layouts literally within a few minutes. This tutorial showing the most common design is a fixed header with a sidebar panel.

What We Are Going to Do
Container[
appContent]Sidebar Layout[
sidebar]Content(Content)
Box[
cntBox]Text[
cntText]
Content(Sidebar)
Box[
sidebarPanel]Text[
cntSideBar]

1. Create a New Header and Sidebar
Let's create a basic sketch of Header&Sidebar layout.
Create a new View called
appLayout.Place a new Application Header to the canvas work-field and name it
Header.Set up properties of the
Headeras a follows: Height ->Large; Horizontal Alignment ->Center; Vertical Alignment ->Middle; Background ->Light Gray
Right under
Headerput a new Container called itappContentand set up it Item Flex onStretch.Into the
appContentplace a new Sidebar Layout, name itsidebar, and set up Padding of the Main Content onWide.


2. Place Content Boxes
Inside boxes serve as content elements separated between sidebar and content layouts.
Place a Box into the
Content Containerand name itcntBox.It's properties will be configured as follows: Background ->
White; Shadow ->Large; Padding ->Wide; Item Flex ->Stretch
Place a second Box into the
Content Sidebar, name itsidebarPaneland set up its properties.Background ->
Gray; Foreground ->White; Padding ->Wide; Item Flex ->Stretch
3. Fill a Content (Optional)
If you like to obtain the same results as we do, continue with the following steps.
Put a Label into the
Header, name ithdrLabel, and set up its properties as follows: Value -> "Addaptio Daily Planet"; Font Size ->XXXLARGE; Icon Name ->mdi/earth; Icon Size ->X Large; Icon Foreground ->REDPlace a Text into the
sidebarPanel, name itcntSideBar, and following configuration: Value -> [copy text from tab bellow]; Markdown ->true; Markdown Blocks ->trueSame do with a Text placed into cntBox, name it cntText, and configure as follows: Value -> [copy text from tab bellow]; Markdown ->
true; Markdown Blocks ->true
4. Switching Sidebar Position
If we need to switch the sidebar panel position for a specific reason, it can be simply done with one click.
Switch on the
sidebarand change Sidebar Position ->Right.

The Conclusion
As you tried, layout designing is fast and intuitive, and very soon, you will shape your manuscript using it for your applications. Try to make your layout from scratch.
Last updated
Was this helpful?
