Skip to content

Commit

Permalink
Merge pull request #1007 from dremin/settimemenuitemweight
Browse files Browse the repository at this point in the history
Theme-configurable weight for set date/time item
  • Loading branch information
dremin authored Jan 8, 2025
2 parents 1ecb4ab + 6601b53 commit 5c34520
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion RetroBar/Taskbar.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<Separator />
<MenuItem Header="{DynamicResource new_toolbar}" x:Name="NewToolbarMenuItem" />
</MenuItem>
<MenuItem x:Shared="false" x:Key="SetTimeMenuItem" Header="{DynamicResource set_time}" Click="SetTimeMenuItem_OnClick" />
<MenuItem x:Shared="false" x:Key="SetTimeMenuItem" Header="{DynamicResource set_time}" Click="SetTimeMenuItem_OnClick" FontWeight="{DynamicResource SetTimeMenuItemWeight}" />
<MenuItem x:Shared="false" x:Key="CustomizeNotificationsMenuItem" Header="{DynamicResource customize_notifications_menu}" Click="CustomizeNotificationsMenuItem_OnClick" />
<MenuItem x:Shared="false" x:Key="TaskManagerMenuItem" Style="{DynamicResource TaskManMenuItem}" Click="TaskManagerMenuItem_OnClick" />
<MenuItem x:Shared="false" x:Key="LockTaskbarMenuItem" Header="{DynamicResource lock_taskbar_menu}" IsCheckable="True" IsChecked="{Binding Source={x:Static utilities:Settings.Instance}, Path=LockTaskbar, UpdateSourceTrigger=PropertyChanged}" />
Expand Down
1 change: 1 addition & 0 deletions RetroBar/Themes/System XP.xaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="ButtonInnerHighlight" Color="Transparent" />
<FontWeight x:Key="SetTimeMenuItemWeight">Normal</FontWeight>

<BitmapImage x:Key="StartIconImage"
UriSource="../Resources/startxpclassic.png" />
Expand Down
1 change: 1 addition & 0 deletions RetroBar/Themes/System.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
</Style>

<system:Double x:Key="GlobalFontSize">11</system:Double>
<FontWeight x:Key="SetTimeMenuItemWeight">Bold</FontWeight>

<system:Boolean x:Key="AllowsTransparency">False</system:Boolean>
<system:Boolean x:Key="InvertSystemNotifyIcons">False</system:Boolean>
Expand Down
1 change: 1 addition & 0 deletions RetroBar/Themes/Windows Longhorn Aero.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<system:Double x:Key="TaskbarRowHeight">30</system:Double>
<system:Boolean x:Key="AllowsTransparency">True</system:Boolean>
<Thickness x:Key="TaskButtonMargin" Right="2" />
<FontWeight x:Key="SetTimeMenuItemWeight">Normal</FontWeight>

<LinearGradientBrush x:Key="TaskbarBackground"
StartPoint="0,0"
Expand Down
1 change: 1 addition & 0 deletions RetroBar/Themes/Windows Vista Aero.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<system:Boolean x:Key="AllowsTransparency">True</system:Boolean>
<system:Boolean x:Key="UseFloatingStartButton">True</system:Boolean>
<Thickness x:Key="TaskButtonMargin" Right="2" />
<FontWeight x:Key="SetTimeMenuItemWeight">Normal</FontWeight>

<LinearGradientBrush x:Key="TaskbarBackground"
MappingMode="Absolute"
Expand Down
1 change: 1 addition & 0 deletions RetroBar/Themes/Windows XP Blue.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<system:Double x:Key="TaskbarRowHeight">30</system:Double>
<system:Double x:Key="TaskbarUnlockedSize">4</system:Double>
<Thickness x:Key="TaskButtonMargin" />
<FontWeight x:Key="SetTimeMenuItemWeight">Normal</FontWeight>

<LinearGradientBrush x:Key="TaskbarBackground"
StartPoint="0,0"
Expand Down

0 comments on commit 5c34520

Please sign in to comment.