diff options
author | sr55 <[email protected]> | 2017-06-17 21:11:56 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2017-06-17 21:12:02 +0100 |
commit | 61db4e4b28df18dc17917a8d89ba7238ebaf4989 (patch) | |
tree | da39c68daeee1af2ac6c8ed8cb731b2a467ce07c /win | |
parent | 8dcf1c5cec8cfe200b4fbbe17f8efc06258c7f82 (diff) |
WinGui: Add a "Or Drop File Here" box to the transparent area beside the source selection to make the feature more prominent. Also decrease the transparency a bit to make the inactive backbround darker.
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrakeWPF/Controls/SourceSelection.xaml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml index 3722724e0..84c8c6ee9 100644 --- a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml +++ b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml @@ -117,6 +117,13 @@ </Grid>
- <StackPanel Grid.Column="1" Background="Black" Opacity="0.5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
+ <Grid Grid.Column="1" Background="Black" Opacity="0.65" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
+ <Border BorderThickness="8" CornerRadius="4" VerticalAlignment="Center" HorizontalAlignment="Center">
+ <Border.BorderBrush>
+ <SolidColorBrush Color="White" Opacity=".65"/>
+ </Border.BorderBrush>
+ <TextBlock Text="Or drop a file or folder here ..." Foreground="White" Margin="100,125,100,125" FontSize="26" FontFamily="Segoe UI Light" />
+ </Border>
+ </Grid>
</Grid>
</UserControl>
|