summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Controls
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-11-18 14:06:30 +0000
committersr55 <[email protected]>2018-11-18 14:06:41 +0000
commit9dc0a7a755144b74ff8aea026cdfafd2add6741f (patch)
tree97690b75d97f07d8b01a3a808d37c29ab69fa8b3 /win/CS/HandBrakeWPF/Controls
parentfed19278e06db4a5fa2dffd5a5e513e6c1608197 (diff)
WinGui: Updated DE Translations. Updated the Source Selection view to be more responsive #1597
Diffstat (limited to 'win/CS/HandBrakeWPF/Controls')
-rw-r--r--win/CS/HandBrakeWPF/Controls/SourceSelection.xaml28
1 files changed, 18 insertions, 10 deletions
diff --git a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
index 5563c9e7a..216ec5d90 100644
--- a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
+++ b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
@@ -60,25 +60,33 @@
<Button Grid.Row="2" AutomationProperties.Name="{x:Static Properties:Resources.SourceSelection_ChooseFolder}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" cal:Message.Attach="[Event Click] = [Action FolderScan]"
Margin="20,5,0,0" Padding="8" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" MinWidth="100">
- <Image Source="../Views/Images/folder32.png" Width="32" />
- <StackPanel Orientation="Vertical">
+ <Grid MinWidth="220">
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="Auto" />
+ <ColumnDefinition Width="*" />
+ </Grid.ColumnDefinitions>
+ <Image Source="../Views/Images/folder32.png" Width="32" Grid.Column="0" />
+ <StackPanel Orientation="Vertical" Grid.Column="1">
<TextBlock Text="{x:Static Properties:Resources.SourceSelection_FolderBatchScan}" VerticalAlignment="Center" Margin="5,0,0,0" />
- <TextBlock Text="{x:Static Properties:Resources.SourceSelection_OpenFolderWIth}" VerticalAlignment="Center" Margin="5,0,0,0" />
+ <TextBlock Text="{x:Static Properties:Resources.SourceSelection_OpenFolderWIth}" TextWrapping="Wrap" VerticalAlignment="Center" Margin="5,0,0,0" />
</StackPanel>
- </StackPanel>
+ </Grid>
</Button>
<!--Ctrl + F-->
<Button Grid.Row="3" AutomationProperties.Name="{x:Static Properties:Resources.SourceSelection_ChooseFile}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" cal:Message.Attach="[Event Click] = [Action FileScan]"
Margin="20,5,0,0" Padding="8" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" MinWidth="100">
- <Image Source="../Views/Images/File32.png" Width="32" />
- <StackPanel Orientation="Vertical">
+ <Grid MinWidth="220">
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="Auto" />
+ <ColumnDefinition Width="*" />
+ </Grid.ColumnDefinitions>
+ <Image Source="../Views/Images/File32.png" Width="32" Grid.Column="0" />
+ <StackPanel Orientation="Vertical" Grid.Column="1">
<TextBlock Text="{x:Static Properties:Resources.SourceSelection_File}" VerticalAlignment="Center" Margin="5,0,0,0" />
- <TextBlock Text="{x:Static Properties:Resources.SourceSelection_SingleVideoFile}" VerticalAlignment="Center" Margin="5,0,0,0" />
+ <TextBlock Text="{x:Static Properties:Resources.SourceSelection_SingleVideoFile}" TextWrapping="Wrap" VerticalAlignment="Center" Margin="5,0,0,0" />
</StackPanel>
- </StackPanel>
+ </Grid>
</Button>
<ListBox Grid.Row="4" ItemsSource="{Binding Drives}" Background="Transparent" BorderThickness="0" Margin="16,5,0,0" ItemContainerStyle="{StaticResource hoverlessListBoxItemStyle}">