diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/MainView.xaml | 5 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/ShellView.xaml | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml index 2bb8a6746..a783b126a 100644 --- a/win/CS/HandBrakeWPF/Views/MainView.xaml +++ b/win/CS/HandBrakeWPF/Views/MainView.xaml @@ -512,6 +512,7 @@ VerticalAlignment="Stretch"
Header="Presets"
Margin="0,0,5,5"
+ MaxWidth="270"
IsEnabled="{Binding HasSource, Converter={StaticResource booleanConverter}, ConverterParameter=false}"
Visibility="{Binding IsPresetPanelShowing, Converter={StaticResource boolToVisConverter}}">
@@ -541,7 +542,7 @@ </Style.Triggers>
</Style>
</StackPanel.Resources>
- <TextBlock Text="{Binding Name}"/>
+ <TextBlock Text="{Binding Name}" TextTrimming="CharacterEllipsis" />
</StackPanel>
</HierarchicalDataTemplate>
@@ -554,7 +555,7 @@ <TreeView x:Name="presetListTree" HorizontalAlignment="Stretch" AutomationProperties.Name="Presets List" ToolTip="{x:Static Properties:ResourcesTooltips.MainView_Presets}"
VerticalAlignment="Stretch" BorderThickness="0,0,0,1" BorderBrush="LightGray"
- ItemsSource="{Binding PresetsCategories}"
+ ItemsSource="{Binding PresetsCategories}" MaxWidth="265"
helpers:TreeViewHelper.TreeViewSelectedItem="{Binding Path=SelectedPreset, Mode=TwoWay}"
PreviewMouseRightButtonDown="PresetListTree_OnPreviewMouseRightButtonDown">
diff --git a/win/CS/HandBrakeWPF/Views/ShellView.xaml b/win/CS/HandBrakeWPF/Views/ShellView.xaml index 0f31986c4..e0455b3d3 100644 --- a/win/CS/HandBrakeWPF/Views/ShellView.xaml +++ b/win/CS/HandBrakeWPF/Views/ShellView.xaml @@ -8,7 +8,7 @@ Title="{Data:Binding Path=MainViewModel.WindowTitle}"
Width="1015"
Height="675"
- MinWidth="900"
+ MinWidth="1015"
MinHeight="675"
AllowDrop="True"
SnapsToDevicePixels="True"
|