소스 검색

Use uniform-to-fill stretch for background images instead of full stretch

Daniel Chalmers 9 달 전
부모
커밋
b255bae21a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      DesktopClock/MainWindow.xaml

+ 2 - 1
DesktopClock/MainWindow.xaml

@@ -120,7 +120,8 @@
                                 <Setter Property="Background">
                                     <Setter.Value>
                                         <ImageBrush Opacity="{Binding BackgroundOpacity, Source={x:Static p:Settings.Default}, Mode=OneWay}"
-                                                    ImageSource="{Binding BackgroundImagePath, Source={x:Static p:Settings.Default}, Mode=OneWay}" />
+                                                    ImageSource="{Binding BackgroundImagePath, Source={x:Static p:Settings.Default}, Mode=OneWay}"
+                                                    Stretch="UniformToFill" />
                                     </Setter.Value>
                                 </Setter>
                             </DataTrigger.Setters>