<TabPage>
<Default
skinName = "'tabPage'"
title-padding = "5"
title-highlightFormat-color = "0xFF0000"
title-highlightFormat-bold = "true"
title-highlightOnSelect = "true"
title-states-up-skinName = "'bottomUp'"
title-format-size = "10"
title-highlightFormat-size = "10"
title-states-down-skinName = "'bottomDown'"
title-text = "''"
title-autoSize = "false"
title-icoBeforeLabel = "true"
title-vertical = "true"
title-unifyChildren = "true"
title-apart = "true"
/>
</TabPage>
Now the XML up through the first tab:
<Main
id="'root'"
w="$Lib.current.stage.stageWidth"
h="$Lib.current.stage.stageHeight"
>
<TabStack
name="'tabs'"
widthPt="100"
heightPt="100"
wrap="true"
tabBar-paddingLeft="20"
tabBar-childPadding="5"
on-create="
// Put the tab-bar on the bottom.
$this.setChildIndex($this.tabBar, $this.numChildren - 1);
$this.refresh();
"
>
<TabPage
name = "'home_tab'"
title-states-up-ico-src = "'assets/gui/Home.png'"
title-states-down-ico-src = "'assets/gui/Home.png'"
title-text = "'Home'"
>
<Box
widthPt="100"
heightPt="100"
childPadding="10"
align="'left,top'"
>
<VBox>
<Text
text="'The first page that you see when the app starts.'"
>
</Text>
</VBox>
</Box>
</TabPage>