|
682 | 682 | <TextBox |
683 | 683 | Name="destinationEditBox" |
684 | 684 | Text="{Binding OutputPath, UpdateSourceTrigger=PropertyChanged}" |
685 | | - Visibility="{Binding EditingDestination, Converter={StaticResource VisibilityConverter}}" LostFocus="DestinationEditBoxLostFocus" |
| 685 | + |
| 686 | + LostFocus="DestinationEditBoxLostFocus" |
686 | 687 | PreviewKeyDown="destinationEditBox_PreviewKeyDown"/> |
687 | 688 | <Grid |
688 | | - Name="destinationReadArea" |
| 689 | + Name="destinationReadCover" |
689 | 690 | Background="Transparent" |
690 | 691 | Visibility="{Binding EditingDestination, Converter={StaticResource VisibilityConverter}, ConverterParameter=True}" |
691 | | - MouseLeftButtonDown="DestinationReadAreaMouseLeftButtonDown" |
692 | | - ToolTip="Click to change the encode destination." Margin="0"> |
693 | | - <Border |
694 | | - CornerRadius="3" |
695 | | - BorderBrush="#7DA2CE" BorderThickness="1" |
696 | | - Visibility="{Binding IsMouseOver, ElementName=destinationReadArea, Converter={StaticResource VisibilityConverter}}"> |
697 | | - <Border.Background> |
698 | | - <LinearGradientBrush StartPoint="0,0" EndPoint="0,1"> |
699 | | - <GradientStop Color="#DBEAFC" Offset="0.0" /> |
700 | | - <GradientStop Color="#C1DBFC" Offset="1.0" /> |
701 | | - </LinearGradientBrush> |
702 | | - </Border.Background> |
703 | | - </Border> |
704 | | - <TextBlock |
705 | | - HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,3,0,0" |
706 | | - Text="{Binding OutputPath}" /> |
| 692 | + MouseLeftButtonDown="DestinationReadCoverMouseLeftButtonDown" |
| 693 | + ToolTip="Click to change the encode destination." Margin="0" |
| 694 | + Cursor="Hand"> |
707 | 695 | <Image |
708 | 696 | Source="/Icons/edit_2.png" Height="20" HorizontalAlignment="Right" Margin="0,0,4,0" |
709 | | - Visibility="{Binding IsMouseOver, ElementName=destinationReadArea, Converter={StaticResource VisibilityConverter}}"/> |
| 697 | + Visibility="{Binding IsMouseOver, ElementName=destinationReadCover, Converter={StaticResource VisibilityConverter}}"/> |
710 | 698 | </Grid> |
711 | 699 | </Grid> |
712 | 700 |
|
|
719 | 707 | </StackPanel> |
720 | 708 | </Button> |
721 | 709 |
|
722 | | - <Button Width="64" HorizontalAlignment="Right" Height="22" Margin="0,8,12,0" VerticalAlignment="Top" |
| 710 | + <Button |
| 711 | + Name="outputPathBrowseButton" |
| 712 | + Width="64" HorizontalAlignment="Right" Height="22" Margin="0,8,12,0" VerticalAlignment="Top" |
723 | 713 | Command="{Binding PickOutputPathCommand}" |
724 | 714 | Visibility="{Binding OutputFolderChosen, Converter={StaticResource VisibilityConverter}}">Browse...</Button> |
725 | 715 | </Grid> |
|
0 commit comments