Browse Source

Dynamic settings panel selection bar thingy

CPKreuz 2 years ago
parent
commit
3c5d586fd9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/PixiEditor/Views/Dialogs/SettingsWindow.xaml

+ 1 - 1
src/PixiEditor/Views/Dialogs/SettingsWindow.xaml

@@ -53,7 +53,7 @@
             TitleKey="SETTINGS" CloseCommand="{x:Static SystemCommands.CloseWindowCommand}"/>
             TitleKey="SETTINGS" CloseCommand="{x:Static SystemCommands.CloseWindowCommand}"/>
 
 
         <ListBox DockPanel.Dock="Left" x:Name="pages" ItemsSource="{Binding Pages}"
         <ListBox DockPanel.Dock="Left" x:Name="pages" ItemsSource="{Binding Pages}"
-                 Background="Transparent" BorderThickness="0" Width="180" ItemContainerStyle="{StaticResource PixiListBoxItemStyle}"
+                 Background="Transparent" BorderThickness="0" MinWidth="165" Width="Auto" ItemContainerStyle="{StaticResource PixiListBoxItemStyle}"
                  SelectedIndex="{Binding CurrentPage}">
                  SelectedIndex="{Binding CurrentPage}">
             <ListBox.ItemTemplate>
             <ListBox.ItemTemplate>
                 <DataTemplate>
                 <DataTemplate>