Skip to content

Commit

Permalink
💄 アンダーバーを使うところではTextBlockを使う
Browse files Browse the repository at this point in the history
  • Loading branch information
Hibi-10000 committed Dec 28, 2024
1 parent aebb508 commit 61f51bf
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions src/Hash.Wpf/AboutWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,10,0,0">
<Label x:Name="hashAndVer" Padding="10,0" Content="HashCalculator" FontSize="35" BorderThickness="1" Foreground="Lime"
BorderBrush="{DynamicResource ABrush.Foreground.Deeper}" Background="{DynamicResource ABrush.Tone2.Background.Static}"/>
<Label Padding="0" Margin="5,10,5,0" Content="CreatedBy : Hibi__10000"/>
<TextBlock Margin="5,10,5,0" Text="CreatedBy : Hibi_10000"/>
<Label x:Name="version" Content="Version : "/>
<StackPanel Orientation="Horizontal" Margin="5,0">
<Label Padding="0" Content="DL : "/>
<TextBlock Text="DL : "/>
<Label Padding="0">
<Hyperlink NavigateUri="https://github.com/Hibi-10000/HashCalculator/releases/"
RequestNavigate="HyperLink_OnRequestNavigate"
Expand All @@ -62,7 +62,7 @@
</Hyperlink>
</Label>
</StackPanel>
<Label x:Name="copyright" Padding="0" Margin="5,2" Content="Copyright © 2021-2024 Hibi__10000"/>
<TextBlock x:Name="copyright" Padding="0" Margin="5,2" Text="Copyright © 2021-2024 Hibi_10000"/>
</StackPanel>
<Grid HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,15,10">
<Button Padding="30,1" IsDefault="True" Content="OK" Click="OK_OnClick"/>
Expand Down
2 changes: 1 addition & 1 deletion src/Hash.Wpf/AboutWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private void AboutWindow_OnLoaded(object sender, RoutedEventArgs e)
{
hashAndVer.Content = $"HashCalculator {App.SemVer}";
version.Content = $"Version : {App.SemVer}";
copyright.Content = $"Copyright © 2021-{DateTime.Now.Year} Hibi__10000";
copyright.Text = $"Copyright © 2021-{DateTime.Now.Year} Hibi_10000";
LinkLicense.NavigateUri = new Uri(LinkLicense.NavigateUri.AbsoluteUri.Replace("/blob/main/", $"/blob/{App.SemVer}/"), UriKind.Absolute);
LinkNotice .NavigateUri = new Uri(LinkNotice .NavigateUri.AbsoluteUri.Replace("/blob/main/", $"/blob/{App.SemVer}/"), UriKind.Absolute);
}
Expand Down
6 changes: 3 additions & 3 deletions src/Hash.Wpf/HashForContextWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
<Label x:Name="hashAndVer" Content="Hash for ContextMenu" FontSize="27" BorderThickness="1" Padding="10,0" HorizontalAlignment="Left" FontWeight="Bold"
Foreground="Lime" BorderBrush="{DynamicResource ABrush.Foreground.Deeper}" Background="{DynamicResource ABrush.Tone2.Background.Static}"/>
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Top">
<Label Content="CreatedBy : Hibi__10000" Padding="0"/>
<TextBlock Text="CreatedBy : Hibi_10000"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Label Content="DL : " Padding="0"/>
<TextBlock Text="DL : "/>
<Label Padding="0">
<Hyperlink NavigateUri="https://github.com/Hibi-10000/HashCalculator/releases"
RequestNavigate="HyperLink_OnRequestNavigate"
Expand Down Expand Up @@ -90,7 +90,7 @@
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="0" VerticalAlignment="Bottom">
<Label x:Name="CopyRight" Padding="5,0" Content="Copyright © 2021-2024 Hibi__10000"/>
<TextBlock x:Name="CopyRight" Padding="5,0" Text="Copyright © 2021-2024 Hibi_10000"/>
</Grid>
<Grid Grid.Column="1" HorizontalAlignment="Right" MaxWidth="68" x:Name="Debug" Visibility="Collapsed">
<Button Margin="0,0,2,0" Padding="10,5" FontSize="15" Content="Debug" Click="Debug_OnClick"/>
Expand Down
2 changes: 1 addition & 1 deletion src/Hash.Wpf/HashForContextWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private void HashForContextWindow_OnLoaded(object sender, RoutedEventArgs e)

Title = $"Hash for ContextMenu {App.SemVer}";
hashAndVer.Content = $"Hash for ContextMenu {App.SemVer}";
CopyRight.Content = $"Copyright © 2021-{DateTime.Now.Year} Hibi__10000";
CopyRight.Text = $"Copyright © 2021-{DateTime.Now.Year} Hibi_10000";
foreach (string hashTypeName in HashCalculate.GetHashTypeNames())
{
HashSelector.Items.Add(new ComboBoxItem { Content = hashTypeName });
Expand Down
6 changes: 3 additions & 3 deletions src/Hash.Wpf/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
<Label x:Name="hashAndVer" Content="HashCalculator" FontSize="35" BorderThickness="1" Padding="10,0" HorizontalAlignment="Left" FontWeight="Bold"
Foreground="Lime" BorderBrush="{DynamicResource ABrush.Foreground.Deeper}" Background="{DynamicResource ABrush.Tone2.Background.Static}"/>
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Top">
<Label Content="CreatedBy : Hibi__10000" Padding="0"/>
<TextBlock Text="CreatedBy : Hibi_10000"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Label Content="DL : " Padding="0"/>
<TextBlock Text="DL : "/>
<Label Padding="0">
<Hyperlink NavigateUri="https://github.com/Hibi-10000/HashCalculator/releases/"
RequestNavigate="HyperLink_OnRequestNavigate"
Expand Down Expand Up @@ -211,7 +211,7 @@
</TabControl>
<Grid Grid.Row="3">
<Label x:Name="HashVer" Content="HashCalculator" Padding="5,0"/>
<Label x:Name="CopyRight" Content="Copyright © 2021-2024 Hibi__10000" Padding="5,0" HorizontalAlignment="Right"/>
<TextBlock x:Name="CopyRight" Text="Copyright © 2021-2024 Hibi_10000" Padding="5,0" HorizontalAlignment="Right"/>
</Grid>
</Grid>
</Window>
2 changes: 1 addition & 1 deletion src/Hash.Wpf/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private void MainWindow_OnLoaded(object sender, RoutedEventArgs e)
Title = $"HashCalculator {App.SemVer}";
hashAndVer.Content = $"HashCalculator {App.SemVer}";
HashVer.Content = $"HashCalculator {App.SemVer}";
CopyRight.Content = $"Copyright © 2021-{DateTime.Now.Year} Hibi__10000";
CopyRight.Text = $"Copyright © 2021-{DateTime.Now.Year} Hibi_10000";
foreach (string hashTypeName in HashCalculate.GetHashTypeNames())
{
HashSelector.Items.Add(new ComboBoxItem { Content = hashTypeName });
Expand Down

0 comments on commit 61f51bf

Please sign in to comment.