mirror of
https://github.com/BlossomiShymae/Needlework.Net.git
synced 2025-12-06 10:10:48 +01:00
fix: schema panel scroll issue
This commit is contained in:
@@ -116,16 +116,15 @@
|
|||||||
</Grid>
|
</Grid>
|
||||||
</ui:NavigationView>
|
</ui:NavigationView>
|
||||||
<SplitView.Pane>
|
<SplitView.Pane>
|
||||||
<StackPanel>
|
<Grid RowDefinitions="auto,*">
|
||||||
<ui:CommandBar DefaultLabelPosition="Right">
|
<ui:CommandBar DefaultLabelPosition="Right"
|
||||||
|
Grid.Row="0">
|
||||||
<ui:CommandBar.PrimaryCommands>
|
<ui:CommandBar.PrimaryCommands>
|
||||||
<ui:CommandBarButton Name="CloseCommandBarButton" Label="Close" Command="{Binding CloseSchemaCommand}"/>
|
<ui:CommandBarButton Name="CloseCommandBarButton" Label="Close" Command="{Binding CloseSchemaCommand}"/>
|
||||||
<ui:CommandBarButton Name="CloseAllCommandBarButton" Label="Close all" Command="{Binding CloseSchemaAllCommand}"/>
|
<ui:CommandBarButton Name="CloseAllCommandBarButton" Label="Close all" Command="{Binding CloseSchemaAllCommand}"/>
|
||||||
</ui:CommandBar.PrimaryCommands>
|
</ui:CommandBar.PrimaryCommands>
|
||||||
</ui:CommandBar>
|
</ui:CommandBar>
|
||||||
<ScrollViewer HorizontalScrollBarVisibility="Disabled"
|
<ListBox ItemsSource="{Binding Schemas}" SelectedItem="{Binding SelectedSchema}" Margin="8 0 8 0" Grid.Row="1">
|
||||||
Margin="8 0 8 0">
|
|
||||||
<ListBox ItemsSource="{Binding Schemas}" SelectedItem="{Binding SelectedSchema}">
|
|
||||||
<ListBox.Styles>
|
<ListBox.Styles>
|
||||||
<Style Selector="ListBoxItem">
|
<Style Selector="ListBoxItem">
|
||||||
<Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>
|
||||||
@@ -139,8 +138,7 @@
|
|||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ListBox.ItemTemplate>
|
</ListBox.ItemTemplate>
|
||||||
</ListBox>
|
</ListBox>
|
||||||
</ScrollViewer>
|
</Grid>
|
||||||
</StackPanel>
|
|
||||||
</SplitView.Pane>
|
</SplitView.Pane>
|
||||||
</SplitView>
|
</SplitView>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
Reference in New Issue
Block a user