]> granicus.if.org Git - handbrake/commitdiff
WinGui: Add a "Or Drop File Here" box to the transparent area beside the source selec...
authorsr55 <sr55.hb@outlook.com>
Sat, 17 Jun 2017 20:11:56 +0000 (21:11 +0100)
committersr55 <sr55.hb@outlook.com>
Sat, 17 Jun 2017 20:12:02 +0000 (21:12 +0100)
win/CS/HandBrakeWPF/Controls/SourceSelection.xaml

index 3722724e05c7ec919b37db4df7c42158a3d516b7..84c8c6ee9b4af3cb7f1b915e516a4190002a0970 100644 (file)
         </Grid>\r
 \r
 \r
-        <StackPanel Grid.Column="1" Background="Black" Opacity="0.5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>\r
+        <Grid Grid.Column="1" Background="Black" Opacity="0.65" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">\r
+            <Border BorderThickness="8" CornerRadius="4"  VerticalAlignment="Center" HorizontalAlignment="Center">\r
+                <Border.BorderBrush>\r
+                    <SolidColorBrush Color="White" Opacity=".65"/>\r
+                </Border.BorderBrush>\r
+                <TextBlock Text="Or drop a file or folder here ..." Foreground="White" Margin="100,125,100,125"  FontSize="26" FontFamily="Segoe UI Light" />\r
+            </Border>\r
+        </Grid>\r
     </Grid>\r
 </UserControl>\r