Skip to content

Commit

Permalink
v1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
torum committed May 22, 2021
1 parent 4959231 commit 28bb5c4
Show file tree
Hide file tree
Showing 4 changed files with 596 additions and 227 deletions.
13 changes: 8 additions & 5 deletions BitWallpaper/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,8 @@
<Setter Property="SnapsToDevicePixels" Value="True"/>
<Setter Property="Effect" Value="{x:Null}"/>
<Setter Property="FocusVisualStyle" Value="{StaticResource SubNavTabFocusVisualStyle}"/>

<Setter Property="TextElement.FontSize" Value="16"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type TabItem}">
Expand All @@ -1186,10 +1188,10 @@
</Grid.ColumnDefinitions>

<!-- ぼかし背景を合わせる -->
<Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Fill="{DynamicResource WindowBackgroundBaseColorBrush}" Opacity="0.1" Margin="0"></Rectangle>
<Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Fill="{DynamicResource WindowBackgroundBaseColorBrush}" Opacity="0.3" Margin="0"></Rectangle>

<Border Name="HeaderBorder" Grid.Row="0" Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" Margin="0 0 0 0" BorderThickness="2 0 0 0" HorizontalAlignment="Center" VerticalAlignment="Center" CornerRadius="1 1 1 1">
<ContentPresenter x:Name="ContentSite" HorizontalAlignment="Center" VerticalAlignment="Center" ContentSource="Header" RecognizesAccessKey="True" Margin="0 0 0 0"/>
<Border Name="HeaderBorder" Grid.Row="0" Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" Margin="0 0 0 0" BorderThickness="2 0 0 0" HorizontalAlignment="Left" VerticalAlignment="Center" CornerRadius="0" Background="Transparent">
<ContentPresenter x:Name="ContentSite" HorizontalAlignment="Left" VerticalAlignment="Center" ContentSource="Header" RecognizesAccessKey="True" Margin="0 0 0 0"/>
</Border>
<Border Name="SubContent" Grid.Row="0" Width="120" Height="80" Padding="0" Background="Transparent" BorderThickness="0" CornerRadius="1 1 1 1" Visibility="Collapsed">
<ContentPresenter Name="Content" Margin="0" ContentSource="Content" KeyboardNavigation.DirectionalNavigation="Contained" KeyboardNavigation.TabNavigation="Local" />
Expand All @@ -1204,6 +1206,7 @@
<!--
<Setter TargetName="HeaderBorder" Property="Background" Value="{DynamicResource BoardBackgroundColorBrush}" />
-->

<Setter TargetName="HeaderBorder" Property="BorderBrush" Value="DarkGray" />
<Setter TargetName="HeaderBorder" Property="BorderThickness" Value="2 0 0 0" />

Expand Down Expand Up @@ -1233,11 +1236,11 @@
<!--
<Setter TargetName="HeaderBorder" Property="Background" Value="{DynamicResource BoardBackgroundColorBrush}" />
-->
<Setter Property="TextElement.FontSize" Value="22"/>

<Setter TargetName="HeaderBorder" Property="BorderBrush" Value="{DynamicResource AccentWarmLightColorBrush}" />
<Setter TargetName="HeaderBorder" Property="BorderThickness" Value="2 0 0 0" />

<Setter TargetName="SubContent" Property="Visibility" Value="Visible" />
<Setter TargetName="SubContent" Property="Opacity" Value="0.4" />

<Setter Property="Foreground" Value="{DynamicResource NormalTextColorBrush}" />

Expand Down
2 changes: 1 addition & 1 deletion BitWallpaper/BitWallpaper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.6.1.%2a</ApplicationVersion>
<ApplicationVersion>1.6.2.0</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
Expand Down
Loading

0 comments on commit 28bb5c4

Please sign in to comment.