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>
|
||||
</ui:NavigationView>
|
||||
<SplitView.Pane>
|
||||
<StackPanel>
|
||||
<ui:CommandBar DefaultLabelPosition="Right">
|
||||
<Grid RowDefinitions="auto,*">
|
||||
<ui:CommandBar DefaultLabelPosition="Right"
|
||||
Grid.Row="0">
|
||||
<ui:CommandBar.PrimaryCommands>
|
||||
<ui:CommandBarButton Name="CloseCommandBarButton" Label="Close" Command="{Binding CloseSchemaCommand}"/>
|
||||
<ui:CommandBarButton Name="CloseAllCommandBarButton" Label="Close all" Command="{Binding CloseSchemaAllCommand}"/>
|
||||
</ui:CommandBar.PrimaryCommands>
|
||||
</ui:CommandBar>
|
||||
<ScrollViewer HorizontalScrollBarVisibility="Disabled"
|
||||
Margin="8 0 8 0">
|
||||
<ListBox ItemsSource="{Binding Schemas}" SelectedItem="{Binding SelectedSchema}">
|
||||
<ListBox ItemsSource="{Binding Schemas}" SelectedItem="{Binding SelectedSchema}" Margin="8 0 8 0" Grid.Row="1">
|
||||
<ListBox.Styles>
|
||||
<Style Selector="ListBoxItem">
|
||||
<Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>
|
||||
@@ -139,8 +138,7 @@
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
</ScrollViewer>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</SplitView.Pane>
|
||||
</SplitView>
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user