Skip to content

Commit

Permalink
improve semanticzoom
Browse files Browse the repository at this point in the history
  • Loading branch information
United600 committed Nov 30, 2023
1 parent f9e30fd commit afbc23f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Screenbox/Pages/AlbumsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
<SemanticZoom.ZoomedOutView>
<GridView
x:Name="GroupOverview"
MaxWidth="400"
Margin="{x:Bind Common.FooterBottomPaddingMargin, Mode=OneWay}"
Padding="{StaticResource PageContentMargin}"
HorizontalAlignment="Center"
Expand All @@ -101,6 +100,11 @@
<SolidColorBrush x:Key="ButtonBackgroundDisabled" Color="Transparent" />
<SolidColorBrush x:Key="ButtonBorderBrushDisabled" Color="Transparent" />
</GridView.Resources>
<GridView.ItemsPanel>
<ItemsPanelTemplate>
<ItemsWrapGrid MaximumRowsOrColumns="8" Orientation="Horizontal" />
</ItemsPanelTemplate>
</GridView.ItemsPanel>
</GridView>
</SemanticZoom.ZoomedOutView>
</SemanticZoom>
Expand Down
6 changes: 5 additions & 1 deletion Screenbox/Pages/ArtistsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
<SemanticZoom.ZoomedOutView>
<GridView
x:Name="GroupOverview"
MaxWidth="400"
Margin="{x:Bind Common.FooterBottomPaddingMargin, Mode=OneWay}"
Padding="{StaticResource PageContentMargin}"
HorizontalAlignment="Center"
Expand All @@ -101,6 +100,11 @@
<SolidColorBrush x:Key="ButtonBackgroundDisabled" Color="Transparent" />
<SolidColorBrush x:Key="ButtonBorderBrushDisabled" Color="Transparent" />
</GridView.Resources>
<GridView.ItemsPanel>
<ItemsPanelTemplate>
<ItemsWrapGrid MaximumRowsOrColumns="8" Orientation="Horizontal" />
</ItemsPanelTemplate>
</GridView.ItemsPanel>
</GridView>
</SemanticZoom.ZoomedOutView>
</SemanticZoom>
Expand Down
6 changes: 5 additions & 1 deletion Screenbox/Pages/SongsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
<SemanticZoom.ZoomedOutView>
<GridView
x:Name="GroupOverview"
MaxWidth="400"
Margin="{x:Bind Common.FooterBottomPaddingMargin, Mode=OneWay}"
Padding="{StaticResource PageContentMargin}"
HorizontalAlignment="Center"
Expand All @@ -129,6 +128,11 @@
<SolidColorBrush x:Key="ButtonBackgroundDisabled" Color="Transparent" />
<SolidColorBrush x:Key="ButtonBorderBrushDisabled" Color="Transparent" />
</GridView.Resources>
<GridView.ItemsPanel>
<ItemsPanelTemplate>
<ItemsWrapGrid MaximumRowsOrColumns="8" Orientation="Horizontal" />
</ItemsPanelTemplate>
</GridView.ItemsPanel>
</GridView>
</SemanticZoom.ZoomedOutView>
</SemanticZoom>
Expand Down

0 comments on commit afbc23f

Please sign in to comment.