diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/MainView.xaml')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/MainView.xaml | 5 |
1 files changed, 3 insertions, 2 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">
|