Kaynağa Gözat

Update UI for better display when using languages with long words

Ruben 4 yıl önce
ebeveyn
işleme
a8a2c42477

+ 5 - 6
PicView/Views/UserControls/Buttons/InfoButton.xaml

@@ -14,7 +14,7 @@
             <Image
             <Image
                 Width="14"
                 Width="14"
                 Height="14"
                 Height="14"
-                Margin="5,0,0,0">
+                Margin="2,0,0,0">
                 <Image.Source>
                 <Image.Source>
                     <DrawingImage>
                     <DrawingImage>
                         <DrawingImage.Drawing>
                         <DrawingImage.Drawing>
@@ -30,14 +30,13 @@
                 </Image.Source>
                 </Image.Source>
             </Image>
             </Image>
             <TextBlock
             <TextBlock
-                Margin="5,0,5,0"
+                MaxWidth="70"
+                Margin="3,0,3,0"
                 FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto Medium"
                 FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto Medium"
                 FontSize="13"
                 FontSize="13"
-                MaxWidth="57"
                 Text="{StaticResource About}"
                 Text="{StaticResource About}"
-                ToolTip="{StaticResource About}"
-                TextWrapping="Wrap"
-                TextTrimming="CharacterEllipsis">
+                TextTrimming="CharacterEllipsis"
+                ToolTip="{StaticResource About}">
                 <TextBlock.Foreground>
                 <TextBlock.Foreground>
                     <SolidColorBrush x:Name="txtBrush" Color="{StaticResource MainColor}" />
                     <SolidColorBrush x:Name="txtBrush" Color="{StaticResource MainColor}" />
                 </TextBlock.Foreground>
                 </TextBlock.Foreground>

+ 5 - 8
PicView/Views/UserControls/Buttons/SettingsButton.xaml

@@ -11,10 +11,7 @@
             <SolidColorBrush x:Name="TheButtonBrush" Color="Transparent" />
             <SolidColorBrush x:Name="TheButtonBrush" Color="Transparent" />
         </Button.Background>
         </Button.Background>
         <StackPanel Orientation="Horizontal">
         <StackPanel Orientation="Horizontal">
-            <Image
-                Width="18"
-                Height="18"
-                Margin="6,0,0,0">
+            <Image Width="18" Margin="3,0,0,0">
                 <Image.Source>
                 <Image.Source>
                     <DrawingImage>
                     <DrawingImage>
                         <DrawingImage.Drawing>
                         <DrawingImage.Drawing>
@@ -51,13 +48,13 @@
                 </Image.Source>
                 </Image.Source>
             </Image>
             </Image>
             <TextBlock
             <TextBlock
-                Margin="5,0,5,0"
+                MaxWidth="80"
+                Margin="3,0,3,0"
                 FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto Medium"
                 FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto Medium"
                 FontSize="13"
                 FontSize="13"
-                MaxWidth="57"
                 Text="{StaticResource Settings}"
                 Text="{StaticResource Settings}"
-                ToolTip="{StaticResource Settings}"
-                TextTrimming="CharacterEllipsis">
+                TextTrimming="CharacterEllipsis"
+                ToolTip="{StaticResource Settings}">
                 <TextBlock.Foreground>
                 <TextBlock.Foreground>
                     <SolidColorBrush x:Name="txtBrush" Color="{StaticResource MainColor}" />
                     <SolidColorBrush x:Name="txtBrush" Color="{StaticResource MainColor}" />
                 </TextBlock.Foreground>
                 </TextBlock.Foreground>

+ 37 - 34
PicView/Views/UserControls/Menus/ToolsAndEffectsMenu.xaml

@@ -7,7 +7,10 @@
     Foreground="{StaticResource MainColorBrush}">
     Foreground="{StaticResource MainColorBrush}">
 
 
     <UserControl.Resources>
     <UserControl.Resources>
-        <SolidColorBrush x:Name="IconBrush" x:Key="IconBrush" Color="{StaticResource IconColor}" />
+        <SolidColorBrush
+            x:Key="IconBrush"
+            x:Name="IconBrush"
+            Color="{StaticResource IconColor}" />
     </UserControl.Resources>
     </UserControl.Resources>
 
 
     <StackPanel>
     <StackPanel>
@@ -40,9 +43,9 @@
                         Stroke="{StaticResource BorderBrush}"
                         Stroke="{StaticResource BorderBrush}"
                         StrokeThickness="1" />
                         StrokeThickness="1" />
 
 
-                    <Button 
+                    <Button
                         x:Name="ResizeButton"
                         x:Name="ResizeButton"
-                        Width="169"  
+                        Width="169"
                         FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto Medium">
                         FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto Medium">
                         <Button.Background>
                         <Button.Background>
                             <SolidColorBrush x:Name="ResizeButtonBrush" Color="Transparent" />
                             <SolidColorBrush x:Name="ResizeButtonBrush" Color="Transparent" />
@@ -51,22 +54,22 @@
                             <TextBlock
                             <TextBlock
                                 Width="126"
                                 Width="126"
                                 MaxWidth="126"
                                 MaxWidth="126"
-                                Margin="0,2,0,2"
-                                FontSize="13"
+                                Margin="2,2,2,2"
+                                VerticalAlignment="Center"
+                                FontSize="12"
                                 Text="{StaticResource BatchResize}"
                                 Text="{StaticResource BatchResize}"
                                 TextAlignment="Center"
                                 TextAlignment="Center"
-                                TextWrapping="Wrap" 
                                 TextTrimming="CharacterEllipsis"
                                 TextTrimming="CharacterEllipsis"
-                                VerticalAlignment="Center">
+                                TextWrapping="Wrap">
                                 <TextBlock.Foreground>
                                 <TextBlock.Foreground>
                                     <SolidColorBrush x:Name="ResizeText" Color="{StaticResource MainColor}" />
                                     <SolidColorBrush x:Name="ResizeText" Color="{StaticResource MainColor}" />
                                 </TextBlock.Foreground>
                                 </TextBlock.Foreground>
                             </TextBlock>
                             </TextBlock>
                             <Canvas Width="51" Height="51">
                             <Canvas Width="51" Height="51">
-                                <Image 
-                                    Height="22" 
+                                <Image
                                     Canvas.Left="0"
                                     Canvas.Left="0"
-                                    Canvas.Top="15">
+                                    Canvas.Top="15"
+                                    Height="22">
                                     <Image.Source>
                                     <Image.Source>
                                         <DrawingImage>
                                         <DrawingImage>
                                             <DrawingImage.Drawing>
                                             <DrawingImage.Drawing>
@@ -78,12 +81,12 @@
                                     </Image.Source>
                                     </Image.Source>
                                 </Image>
                                 </Image>
 
 
-                                <Image 
-                                    Panel.ZIndex="-1"
-                                    Opacity=".9"
-                                    Height="16"
+                                <Image
                                     Canvas.Left="15"
                                     Canvas.Left="15"
-                                    Canvas.Top="18">
+                                    Canvas.Top="18"
+                                    Height="16"
+                                    Panel.ZIndex="-1"
+                                    Opacity=".9">
                                     <Image.Source>
                                     <Image.Source>
                                         <DrawingImage>
                                         <DrawingImage>
                                             <DrawingImage.Drawing>
                                             <DrawingImage.Drawing>
@@ -95,12 +98,12 @@
                                     </Image.Source>
                                     </Image.Source>
                                 </Image>
                                 </Image>
 
 
-                                <Image 
-                                    Panel.ZIndex="-2"
-                                    Opacity=".7"
-                                    Height="10"
+                                <Image
                                     Canvas.Left="27"
                                     Canvas.Left="27"
-                                    Canvas.Top="21">
+                                    Canvas.Top="21"
+                                    Height="10"
+                                    Panel.ZIndex="-2"
+                                    Opacity=".7">
                                     <Image.Source>
                                     <Image.Source>
                                         <DrawingImage>
                                         <DrawingImage>
                                             <DrawingImage.Drawing>
                                             <DrawingImage.Drawing>
@@ -139,7 +142,7 @@
                                 Width="110"
                                 Width="110"
                                 MaxWidth="110"
                                 MaxWidth="110"
                                 Margin="0,2,0,2"
                                 Margin="0,2,0,2"
-                                FontSize="13"
+                                FontSize="12"
                                 Text="{StaticResource Effects}"
                                 Text="{StaticResource Effects}"
                                 TextAlignment="Center"
                                 TextAlignment="Center"
                                 TextTrimming="CharacterEllipsis"
                                 TextTrimming="CharacterEllipsis"
@@ -151,8 +154,8 @@
                             <Image
                             <Image
                                 Width="17"
                                 Width="17"
                                 Height="17"
                                 Height="17"
-                                Stretch="Fill" 
-                                Margin="0,0,7,0">
+                                Margin="0,0,7,0"
+                                Stretch="Fill">
                                 <Image.Source>
                                 <Image.Source>
                                     <DrawingImage>
                                     <DrawingImage>
                                         <DrawingImage.Drawing>
                                         <DrawingImage.Drawing>
@@ -202,7 +205,7 @@
                                     Width="126"
                                     Width="126"
                                     MaxWidth="126"
                                     MaxWidth="126"
                                     Margin="0,2,2,2"
                                     Margin="0,2,2,2"
-                                    FontSize="13"
+                                    FontSize="12"
                                     Text="{StaticResource ImageInfo}"
                                     Text="{StaticResource ImageInfo}"
                                     TextAlignment="Center"
                                     TextAlignment="Center"
                                     TextWrapping="Wrap">
                                     TextWrapping="Wrap">
@@ -242,7 +245,7 @@
                                     Width="136"
                                     Width="136"
                                     MaxWidth="136"
                                     MaxWidth="136"
                                     Margin="0,2,2,2"
                                     Margin="0,2,2,2"
-                                    FontSize="13"
+                                    FontSize="12"
                                     Text="{StaticResource ColorPickerTool}"
                                     Text="{StaticResource ColorPickerTool}"
                                     TextAlignment="Center"
                                     TextAlignment="Center"
                                     TextWrapping="Wrap">
                                     TextWrapping="Wrap">
@@ -283,7 +286,7 @@
                                     Width="126"
                                     Width="126"
                                     MaxWidth="126"
                                     MaxWidth="126"
                                     Margin="0,2,2,2"
                                     Margin="0,2,2,2"
-                                    FontSize="13"
+                                    FontSize="12"
                                     Text="{StaticResource OptimizeImage}"
                                     Text="{StaticResource OptimizeImage}"
                                     TextAlignment="Center"
                                     TextAlignment="Center"
                                     TextWrapping="Wrap">
                                     TextWrapping="Wrap">
@@ -345,14 +348,14 @@
                                 <SolidColorBrush x:Name="BgBrush" />
                                 <SolidColorBrush x:Name="BgBrush" />
                             </StackPanel.Background>
                             </StackPanel.Background>
                             <TextBlock
                             <TextBlock
-                                    Width="136"
-                                    MaxWidth="136"
-                                    VerticalAlignment="Center"
-                                    Margin="4,2,2,2"
-                                    FontSize="13"
-                                    Text="{StaticResource ChangeBackground}"
-                                    TextAlignment="Center"
-                                    TextWrapping="Wrap">
+                                Width="136"
+                                MaxWidth="136"
+                                Margin="4,2,2,2"
+                                VerticalAlignment="Center"
+                                FontSize="12"
+                                Text="{StaticResource ChangeBackground}"
+                                TextAlignment="Center"
+                                TextWrapping="Wrap">
                                 <TextBlock.Foreground>
                                 <TextBlock.Foreground>
                                     <SolidColorBrush x:Name="BgText" Color="{StaticResource MainColor}" />
                                     <SolidColorBrush x:Name="BgText" Color="{StaticResource MainColor}" />
                                 </TextBlock.Foreground>
                                 </TextBlock.Foreground>

Dosya farkı çok büyük olduğundan ihmal edildi
+ 458 - 485
PicView/Views/Windows/EffectsWindows.xaml


+ 24 - 87
PicView/Views/Windows/InfoWindow.xaml

@@ -25,6 +25,12 @@
             <Setter Property="FontSize" Value="11" />
             <Setter Property="FontSize" Value="11" />
             <Setter Property="Foreground" Value="{StaticResource MainColorFadedBrush}" />
             <Setter Property="Foreground" Value="{StaticResource MainColorFadedBrush}" />
         </Style>
         </Style>
+        <Style TargetType="TextBlock">
+            <Setter Property="VerticalAlignment" Value="Center" />
+            <Setter Property="TextTrimming" Value="CharacterEllipsis" />
+            <Setter Property="TextWrapping" Value="Wrap" />
+            <Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Self}, Path=Text}" />
+        </Style>
     </Window.Resources>
     </Window.Resources>
 
 
     <DockPanel LastChildFill="True">
     <DockPanel LastChildFill="True">
@@ -35,52 +41,28 @@
             Background="{StaticResource WindowBackgroundColorBrush}"
             Background="{StaticResource WindowBackgroundColorBrush}"
             DockPanel.Dock="Top">
             DockPanel.Dock="Top">
 
 
-            <uc:Icon Width="35" />
-
-            <Rectangle
-                Width="1"
-                Height="30"
-                Margin="6,0,0,0"
-                Fill="{StaticResource BorderBrush}" />
+            <uc:Icon />
 
 
             <uc:CloseButton
             <uc:CloseButton
                 x:Name="CloseButton"
                 x:Name="CloseButton"
                 Width="30"
                 Width="30"
                 Height="30"
                 Height="30"
-                VerticalAlignment="Center"
                 DockPanel.Dock="Right" />
                 DockPanel.Dock="Right" />
 
 
-            <Rectangle
-                Width="1"
-                Height="30"
-                DockPanel.Dock="Right"
-                Fill="{StaticResource BorderBrush}" />
-
             <uc:MinButton
             <uc:MinButton
                 x:Name="MinButton"
                 x:Name="MinButton"
                 Width="30"
                 Width="30"
                 Height="30"
                 Height="30"
-                VerticalAlignment="Center"
                 DockPanel.Dock="Right" />
                 DockPanel.Dock="Right" />
 
 
-            <Rectangle
-                Width="1"
-                Height="30"
-                DockPanel.Dock="Right"
-                Fill="{StaticResource BorderBrush}" />
-
             <TextBlock
             <TextBlock
-                x:Name="Bar"
-                Height="30"
-                Padding="0,5,0,0"
+                Width="Auto"
+                Margin="0,0,0,0"
                 VerticalAlignment="Center"
                 VerticalAlignment="Center"
-                Background="{StaticResource BackgroundSubtleHighlightBrush}"
-                FontSize="16"
-                FontWeight="Bold"
-                Foreground="{StaticResource MainColorBrush}"
+                FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto Bold"
+                FontSize="14"
                 Text="{StaticResource InfoWindowTitle}"
                 Text="{StaticResource InfoWindowTitle}"
-                TextAlignment="Center"
-                TextTrimming="CharacterEllipsis" />
+                TextAlignment="Center" />
         </DockPanel>
         </DockPanel>
 
 
         <Rectangle
         <Rectangle
@@ -117,7 +99,6 @@
                                 </Hyperlink.Foreground>
                                 </Hyperlink.Foreground>
                                 <TextBlock
                                 <TextBlock
                                     x:Name="GitHub"
                                     x:Name="GitHub"
-                                    d:Text="Github repository"
                                     FontSize="14"
                                     FontSize="14"
                                     Text="{StaticResource ResourceKey=GithubRepo}"
                                     Text="{StaticResource ResourceKey=GithubRepo}"
                                     TextAlignment="Center"
                                     TextAlignment="Center"
@@ -230,7 +211,6 @@
                 <Label
                 <Label
                     Margin="0,12,0,4"
                     Margin="0,12,0,4"
                     HorizontalAlignment="Center"
                     HorizontalAlignment="Center"
-                    d:Content="Application Shortcuts"
                     Content="{StaticResource ResourceKey=ApplicationShortcuts}"
                     Content="{StaticResource ResourceKey=ApplicationShortcuts}"
                     FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto Black"
                     FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto Black"
                     FontSize="16" />
                     FontSize="16" />
@@ -238,7 +218,6 @@
                 <Label
                 <Label
                     Width="480"
                     Width="480"
                     Margin="-4,0,0,10"
                     Margin="-4,0,0,10"
-                    d:Content="Navigation"
                     Content="{StaticResource ResourceKey=Navigation}" />
                     Content="{StaticResource ResourceKey=Navigation}" />
 
 
                 <Grid Width="480" Margin="0,0,0,20">
                 <Grid Width="480" Margin="0,0,0,20">
@@ -335,7 +314,6 @@
                         <TextBlock
                         <TextBlock
                             HorizontalAlignment="Center"
                             HorizontalAlignment="Center"
                             VerticalAlignment="Center"
                             VerticalAlignment="Center"
-                            d:Text="Right"
                             FontSize="12"
                             FontSize="12"
                             Text="{StaticResource ResourceKey=Left}" />
                             Text="{StaticResource ResourceKey=Left}" />
                     </Border>
                     </Border>
@@ -364,10 +342,7 @@
                             HorizontalAlignment="Center"
                             HorizontalAlignment="Center"
                             VerticalAlignment="Center"
                             VerticalAlignment="Center"
                             Orientation="Horizontal">
                             Orientation="Horizontal">
-                            <TextBlock
-                                d:Text="Ctrl"
-                                FontSize="12"
-                                Text="{StaticResource ResourceKey=Ctrl}" />
+                            <TextBlock FontSize="12" Text="{StaticResource ResourceKey=Ctrl}" />
                             <TextBlock
                             <TextBlock
                                 FontSize="12"
                                 FontSize="12"
                                 Foreground="{StaticResource MainColorFadedBrush}"
                                 Foreground="{StaticResource MainColorFadedBrush}"
@@ -387,10 +362,7 @@
                             HorizontalAlignment="Center"
                             HorizontalAlignment="Center"
                             VerticalAlignment="Center"
                             VerticalAlignment="Center"
                             Orientation="Horizontal">
                             Orientation="Horizontal">
-                            <TextBlock
-                                d:Text="Ctrl"
-                                FontSize="12"
-                                Text="{StaticResource ResourceKey=Ctrl}" />
+                            <TextBlock FontSize="12" Text="{StaticResource ResourceKey=Ctrl}" />
                             <TextBlock
                             <TextBlock
                                 FontSize="12"
                                 FontSize="12"
                                 Foreground="{StaticResource MainColorFadedBrush}"
                                 Foreground="{StaticResource MainColorFadedBrush}"
@@ -411,7 +383,6 @@
                         BorderThickness="1,0,1,0">
                         BorderThickness="1,0,1,0">
                         <TextBlock
                         <TextBlock
                             Margin="10,3,0,3"
                             Margin="10,3,0,3"
-                            d:Text="Last image"
                             FontSize="12"
                             FontSize="12"
                             Text="{StaticResource ResourceKey=LastImage}" />
                             Text="{StaticResource ResourceKey=LastImage}" />
                     </Border>
                     </Border>
@@ -427,10 +398,7 @@
                             HorizontalAlignment="Center"
                             HorizontalAlignment="Center"
                             VerticalAlignment="Center"
                             VerticalAlignment="Center"
                             Orientation="Horizontal">
                             Orientation="Horizontal">
-                            <TextBlock
-                                d:Text="Ctrl"
-                                FontSize="12"
-                                Text="{StaticResource ResourceKey=Ctrl}" />
+                            <TextBlock FontSize="12" Text="{StaticResource ResourceKey=Ctrl}" />
                             <TextBlock
                             <TextBlock
                                 FontSize="12"
                                 FontSize="12"
                                 Foreground="{StaticResource MainColorFadedBrush}"
                                 Foreground="{StaticResource MainColorFadedBrush}"
@@ -450,10 +418,7 @@
                             HorizontalAlignment="Center"
                             HorizontalAlignment="Center"
                             VerticalAlignment="Center"
                             VerticalAlignment="Center"
                             Orientation="Horizontal">
                             Orientation="Horizontal">
-                            <TextBlock
-                                d:Text="Ctrl"
-                                FontSize="12"
-                                Text="{StaticResource ResourceKey=Ctrl}" />
+                            <TextBlock FontSize="12" Text="{StaticResource ResourceKey=Ctrl}" />
                             <TextBlock
                             <TextBlock
                                 FontSize="12"
                                 FontSize="12"
                                 Foreground="{StaticResource MainColorFadedBrush}"
                                 Foreground="{StaticResource MainColorFadedBrush}"
@@ -474,7 +439,6 @@
                         BorderThickness="1,1,1,1">
                         BorderThickness="1,1,1,1">
                         <TextBlock
                         <TextBlock
                             Margin="10,3,0,3"
                             Margin="10,3,0,3"
-                            d:Text="Toggle looping"
                             FontSize="12"
                             FontSize="12"
                             Text="{StaticResource ResourceKey=ToggleLooping}" />
                             Text="{StaticResource ResourceKey=ToggleLooping}" />
                     </Border>
                     </Border>
@@ -537,7 +501,6 @@
                         BorderThickness="1,1,1,0">
                         BorderThickness="1,1,1,0">
                         <TextBlock
                         <TextBlock
                             Margin="10,3,0,3"
                             Margin="10,3,0,3"
-                            d:Text="Rotate right"
                             FontSize="12"
                             FontSize="12"
                             Text="{StaticResource ResourceKey=RotateRight}" />
                             Text="{StaticResource ResourceKey=RotateRight}" />
                     </Border>
                     </Border>
@@ -579,7 +542,6 @@
                         BorderThickness="1,1,1,1">
                         BorderThickness="1,1,1,1">
                         <TextBlock
                         <TextBlock
                             Margin="10,3,0,3"
                             Margin="10,3,0,3"
-                            d:Text="Rotate left"
                             FontSize="12"
                             FontSize="12"
                             Text="{StaticResource ResourceKey=RotateLeft}" />
                             Text="{StaticResource ResourceKey=RotateLeft}" />
                     </Border>
                     </Border>
@@ -621,7 +583,6 @@
                         BorderThickness="1,0,1,1">
                         BorderThickness="1,0,1,1">
                         <TextBlock
                         <TextBlock
                             Margin="10,3,0,3"
                             Margin="10,3,0,3"
-                            d:Text="Flip"
                             FontSize="12"
                             FontSize="12"
                             Text="{StaticResource ResourceKey=Flip}" />
                             Text="{StaticResource ResourceKey=Flip}" />
                     </Border>
                     </Border>
@@ -707,10 +668,7 @@
                             HorizontalAlignment="Center"
                             HorizontalAlignment="Center"
                             VerticalAlignment="Center"
                             VerticalAlignment="Center"
                             Orientation="Horizontal">
                             Orientation="Horizontal">
-                            <TextBlock
-                                d:Text="Ctrl"
-                                FontSize="12"
-                                Text="{StaticResource ResourceKey=Ctrl}" />
+                            <TextBlock FontSize="12" Text="{StaticResource ResourceKey=Ctrl}" />
                             <TextBlock
                             <TextBlock
                                 FontSize="12"
                                 FontSize="12"
                                 Foreground="{StaticResource MainColorFadedBrush}"
                                 Foreground="{StaticResource MainColorFadedBrush}"
@@ -1451,10 +1409,7 @@
                             HorizontalAlignment="Center"
                             HorizontalAlignment="Center"
                             VerticalAlignment="Center"
                             VerticalAlignment="Center"
                             Orientation="Horizontal">
                             Orientation="Horizontal">
-                            <TextBlock
-                                d:Text="Ctrl"
-                                FontSize="12"
-                                Text="{StaticResource ResourceKey=Ctrl}" />
+                            <TextBlock FontSize="12" Text="{StaticResource ResourceKey=Ctrl}" />
                             <TextBlock
                             <TextBlock
                                 FontSize="12"
                                 FontSize="12"
                                 Foreground="{StaticResource MainColorFadedBrush}"
                                 Foreground="{StaticResource MainColorFadedBrush}"
@@ -1502,10 +1457,7 @@
                             HorizontalAlignment="Center"
                             HorizontalAlignment="Center"
                             VerticalAlignment="Center"
                             VerticalAlignment="Center"
                             Orientation="Horizontal">
                             Orientation="Horizontal">
-                            <TextBlock
-                                d:Text="Ctrl"
-                                FontSize="12"
-                                Text="{StaticResource ResourceKey=Ctrl}" />
+                            <TextBlock FontSize="12" Text="{StaticResource ResourceKey=Ctrl}" />
                             <TextBlock
                             <TextBlock
                                 FontSize="12"
                                 FontSize="12"
                                 Foreground="{StaticResource MainColorFadedBrush}"
                                 Foreground="{StaticResource MainColorFadedBrush}"
@@ -1615,10 +1567,7 @@
                             VerticalAlignment="Center"
                             VerticalAlignment="Center"
                             Orientation="Horizontal"
                             Orientation="Horizontal"
                             ToolTip="{StaticResource ResourceKey=DragFileTo}">
                             ToolTip="{StaticResource ResourceKey=DragFileTo}">
-                            <TextBlock
-                                d:Text="Ctrl"
-                                FontSize="12"
-                                Text="{StaticResource ResourceKey=Ctrl}" />
+                            <TextBlock FontSize="12" Text="{StaticResource ResourceKey=Ctrl}" />
                             <TextBlock
                             <TextBlock
                                 FontSize="12"
                                 FontSize="12"
                                 Foreground="{StaticResource MainColorFadedBrush}"
                                 Foreground="{StaticResource MainColorFadedBrush}"
@@ -1701,10 +1650,7 @@
                             HorizontalAlignment="Center"
                             HorizontalAlignment="Center"
                             VerticalAlignment="Center"
                             VerticalAlignment="Center"
                             Orientation="Horizontal">
                             Orientation="Horizontal">
-                            <TextBlock
-                                d:Text="Ctrl"
-                                FontSize="12"
-                                Text="{StaticResource ResourceKey=Ctrl}" />
+                            <TextBlock FontSize="12" Text="{StaticResource ResourceKey=Ctrl}" />
                             <TextBlock
                             <TextBlock
                                 FontSize="12"
                                 FontSize="12"
                                 Foreground="{StaticResource MainColorFadedBrush}"
                                 Foreground="{StaticResource MainColorFadedBrush}"
@@ -1869,10 +1815,7 @@
                             HorizontalAlignment="Center"
                             HorizontalAlignment="Center"
                             VerticalAlignment="Center"
                             VerticalAlignment="Center"
                             Orientation="Horizontal">
                             Orientation="Horizontal">
-                            <TextBlock
-                                d:Text="Ctrl"
-                                FontSize="12"
-                                Text="{StaticResource ResourceKey=Ctrl}" />
+                            <TextBlock FontSize="12" Text="{StaticResource ResourceKey=Ctrl}" />
                             <TextBlock
                             <TextBlock
                                 FontSize="12"
                                 FontSize="12"
                                 Foreground="{StaticResource MainColorFadedBrush}"
                                 Foreground="{StaticResource MainColorFadedBrush}"
@@ -2062,10 +2005,7 @@
                             VerticalAlignment="Center"
                             VerticalAlignment="Center"
                             Orientation="Horizontal"
                             Orientation="Horizontal"
                             ToolTip="{StaticResource ResourceKey=CloseApp}">
                             ToolTip="{StaticResource ResourceKey=CloseApp}">
-                            <TextBlock
-                                d:Text="Ctrl"
-                                FontSize="12"
-                                Text="{StaticResource ResourceKey=Ctrl}" />
+                            <TextBlock FontSize="12" Text="{StaticResource ResourceKey=Ctrl}" />
                             <TextBlock
                             <TextBlock
                                 FontSize="12"
                                 FontSize="12"
                                 Foreground="{StaticResource MainColorFadedBrush}"
                                 Foreground="{StaticResource MainColorFadedBrush}"
@@ -2358,10 +2298,7 @@
                             HorizontalAlignment="Center"
                             HorizontalAlignment="Center"
                             VerticalAlignment="Center"
                             VerticalAlignment="Center"
                             Orientation="Horizontal">
                             Orientation="Horizontal">
-                            <TextBlock
-                                d:Text="Ctrl"
-                                FontSize="12"
-                                Text="{StaticResource ResourceKey=Ctrl}" />
+                            <TextBlock FontSize="12" Text="{StaticResource ResourceKey=Ctrl}" />
                             <TextBlock
                             <TextBlock
                                 FontSize="12"
                                 FontSize="12"
                                 Foreground="{StaticResource MainColorFadedBrush}"
                                 Foreground="{StaticResource MainColorFadedBrush}"

+ 1 - 1
PicView/Views/Windows/InfoWindow.xaml.cs

@@ -104,7 +104,7 @@ namespace PicView.Views.Windows
 
 
             KeyDown += (_, e) => Shortcuts.GenericWindowShortcuts.KeysDown(Scroller, e, this);
             KeyDown += (_, e) => Shortcuts.GenericWindowShortcuts.KeysDown(Scroller, e, this);
             Scroller.MouseWheel += (_, e) => Shortcuts.GenericWindowShortcuts.Window_MouseWheel(Scroller, e);
             Scroller.MouseWheel += (_, e) => Shortcuts.GenericWindowShortcuts.Window_MouseWheel(Scroller, e);
-            Bar.MouseLeftButtonDown += (_, _) => DragMove();
+            TitleBar.MouseLeftButtonDown += (_, _) => DragMove();
 
 
             CloseButton.TheButton.Click += delegate { Hide(); };
             CloseButton.TheButton.Click += delegate { Hide(); };
             MinButton.TheButton.Click += delegate { SystemCommands.MinimizeWindow(this); };
             MinButton.TheButton.Click += delegate { SystemCommands.MinimizeWindow(this); };

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor