Explorar o código

Dynamic settings panel selection bar thingy

CPKreuz %!s(int64=2) %!d(string=hai) anos
pai
achega
3c5d586fd9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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}"/>
 
         <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}">
             <ListBox.ItemTemplate>
                 <DataTemplate>