summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/MainView.xaml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-08-23 20:04:58 +0100
committersr55 <[email protected]>2017-08-23 20:04:58 +0100
commitb8b07482d5f92296070aee0ea4427e0226d651ec (patch)
treece1b4fc8fc3e0a9f13e1bc1095daa964c1a6ed46 /win/CS/HandBrakeWPF/Views/MainView.xaml
parent0efb28ba6f4cc3970921480522f98e7830a03619 (diff)
WinGui: Add basic source information to the main window. #833
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/MainView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/MainView.xaml16
1 files changed, 12 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml
index de9068ea9..cadd5a5ee 100644
--- a/win/CS/HandBrakeWPF/Views/MainView.xaml
+++ b/win/CS/HandBrakeWPF/Views/MainView.xaml
@@ -294,10 +294,18 @@
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
>
- <StackPanel Orientation="Horizontal">
- <Label Content="{x:Static Properties:ResourcesUI.MainView_Source}" FontWeight="Bold" />
- <Label Content="{Binding Path=SourceLabel}" />
- </StackPanel>
+ <Grid HorizontalAlignment="Stretch" Margin="0,0,10,0">
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="Auto" />
+ <ColumnDefinition Width="Auto" />
+ <ColumnDefinition Width="*" />
+ </Grid.ColumnDefinitions>
+
+ <Label Content="{x:Static Properties:ResourcesUI.MainView_Source}" FontWeight="Bold" Grid.Column="0" />
+ <TextBlock Text="{Binding Path=SourceLabel}" TextTrimming="CharacterEllipsis" Grid.Column="1" MaxWidth="400" />
+ <TextBlock Text="{Binding SourceInfo}" HorizontalAlignment="Right" VerticalAlignment="Center" Foreground="Gray" FontFamily="Segoe UI Light" Grid.Column="2" MaxWidth="400" />
+ </Grid>
+
<StackPanel Orientation="Horizontal">
<Label Margin="8,0,0,0" Content="{x:Static Properties:ResourcesUI.MainView_Title}" />
<ComboBox Name="Titles"