Hey,
I’m using the TabBarNavigation example. My ScrollView exceeds the Navigation, I don’t have a clue right now.
<App Background="#333">
<JavaScript>
var Observable = require("FuseJS/Observable");
var data = Observable();
fetch('https://fuseweb.azureedge.net/forum-user-uploads/2016/08/22/bMfk1x4dbIfR-legacy-files-ZjPdBhWNdPRMI4qK-colors.json')
.then(function(response) { return response.json(); })
.then(function(responseObject) {
data.value = responseObject;
console.log(JSON.stringify(data.value));
})
;
module.exports = {
data: data
};
</JavaScript>
<DockPanel>
<Fuse.iOS.StatusBarConfig Style="Light" />
<StatusBarBackground Dock="Top" />
<BottomBarBackground Dock="Bottom" />
<PageControl ux:Name="pages">
<Page ux:Name="page1" Background="#34495e" ClipToBounds="true">
<StackPanel>
<Grid Rows="150,auto,50">
<Panel Row="0">
<Image File="Assets/fuse-logo.png"></Image>
</Panel>
<Panel Row="1">
<ScrollView ClipToBounds="true">
<Grid ColumnCount="2">
<Each Items="{data.colorsArray}">
<DockPanel Height="120" Margin="10,0">
<Panel DockPanel.Dock="Top" Margin="10" Height="30">
<Rectangle Layer="Background" CornerRadius="10" Fill="#fff" />
<Text Value="{colorName}" TextAlignment="Center" Alignment="Center" />
</Panel>
<Rectangle Layer="Background" CornerRadius="10" Fill="{hexValue}" Margin="10, 10, 10, 0" />
</DockPanel>
</Each>
</Grid>
</ScrollView>
</Panel>
<Panel Row="2"></Panel>
</Grid>
</StackPanel>
<ActivatingAnimation>
<Scale Target="tabBarImage1" Factor="1.5" />
</ActivatingAnimation>
</Page>
<Page ux:Name="page2" Background="#3498db">
<Image File="Assets/fuse-logo.png" StretchDirection="DownOnly" />
<ActivatingAnimation>
<Scale Target="tabBarImage2" Factor="1.5" />
</ActivatingAnimation>
</Page>
<Page ux:Name="page3" Background="#aa3377">
<Image File="Assets/fuse-logo.png" StretchDirection="DownOnly" />
<ActivatingAnimation>
<Scale Target="tabBarImage3" Factor="1.5" />
</ActivatingAnimation>
</Page>
<Page ux:Name="page4" Background="#88cc22">
<Image File="Assets/fuse-logo.png" StretchDirection="DownOnly" />
<ActivatingAnimation>
<Scale Target="tabBarImage4" Factor="1.5" />
</ActivatingAnimation>
</Page>
</PageControl>
<Grid Columns="1,1,1,1" Height="45" Dock="Bottom">
<Image ux:Class="Icon" Margin="10" />
<Panel Background="#34495e">
<Icon ux:Name="tabBarImage1" File="Assets/icon-hexagon.png" />
<Clicked>
<Set pages.Active="page1" />
</Clicked>
</Panel>
<Panel Background="#3498db">
<Icon ux:Name="tabBarImage2" File="Assets/icon-star.png" />
<Clicked>
<Set pages.Active="page2" />
</Clicked>
</Panel>
<Panel Background="#aa3377">
<Icon ux:Name="tabBarImage3" File="Assets/icon-square.png" />
<Clicked>
<Set pages.Active="page3" />
</Clicked>
</Panel>
<Panel Background="#88cc22">
<Icon ux:Name="tabBarImage4" File="Assets/icon-triangle.png" />
<Clicked>
<Set pages.Active="page4" />
</Clicked>
</Panel>
</Grid>
</DockPanel>
</App>