-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed details panel when option for 1 column is enabled (Asked by xCeeTee) - All the item will now be visible - Margins are to be ameliored when this option is enabled - Added support for plugin Theme Options from ashpynov - Added a preset to enable/disable rounded corner for Windows 11 (Asked by lionnesquaer) - Added a preset to change the Playnite logo of the theme - There is 5 Playnite logo you can choose from - eMixedNiteMC logo is enabled by default - To re-enable the default Playnite logo, go in the plugin settings of Theme Options - Re-added both detail view value horizontal alignement options - Removed Global Text banner vertical and Horizontal alignment options from ThemeModifier file - you can still change these otpions manually in the constants file - Changed default value of constants for Top Panel, Side Panel, Side Icon Panel - Default value for these constants is now "transparent"
- Loading branch information
Showing
29 changed files
with
2,426 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
mc:Ignorable="d"> | ||
|
||
<Style TargetType="{x:Type Sidebar}"> | ||
<Setter Property="Template"> | ||
<Setter.Value> | ||
<ControlTemplate TargetType="{x:Type Sidebar}"> | ||
<Border BorderThickness="0,0,0,0" BorderBrush="{DynamicResource PanelSeparatorBrush}" | ||
x:Name="BorderContentHolder" Margin="{TemplateBinding Padding}"> | ||
<DockPanel x:Name="DockContentHolder" Background="{DynamicResource SidePanelBrush}"> | ||
<Border x:Name="PART_ElemMainMenu" Background="{DynamicResource SideIconBrush}" | ||
Width="44" Height="44" Margin="2,0,-2,0" | ||
DockPanel.Dock="Top" Padding="3" Cursor="Hand" | ||
WindowChrome.IsHitTestVisibleInChrome="True"> | ||
<Image Source="{ThemeFile 'Images/applogo_black.ico'}" | ||
RenderOptions.BitmapScalingMode="Fant" /> | ||
</Border> | ||
|
||
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Hidden" | ||
DockPanel.Dock="Top" CanContentScroll="True" | ||
x:Name="ScrollSidebarItems"> | ||
<StackPanel x:Name="PART_PanelSideBarItems" Orientation="Vertical" /> | ||
</ScrollViewer> | ||
</DockPanel> | ||
</Border> | ||
<ControlTemplate.Triggers> | ||
<DataTrigger Binding="{Settings SidebarPosition}" Value="Right"> | ||
<Setter Property="Padding" Value="0,25,0,0" /> | ||
<Setter Property="Margin" Value="0,0,0,5" TargetName="PART_ElemMainMenu" /> | ||
<Setter Property="BorderThickness" Value="1,0,0,0" TargetName="BorderContentHolder" /> | ||
</DataTrigger> | ||
<DataTrigger Binding="{Settings SidebarPosition}" Value="Top"> | ||
<Setter Property="Margin" Value="0,0,5,0" TargetName="PART_ElemMainMenu" /> | ||
<Setter Property="BorderThickness" Value="0,0,0,1" TargetName="BorderContentHolder" /> | ||
<Setter Property="DockPanel.Dock" Value="Left" TargetName="PART_ElemMainMenu" /> | ||
<Setter Property="DockPanel.Dock" Value="Left" TargetName="ScrollSidebarItems" /> | ||
<Setter Property="Margin" Value="0,0,100,0" TargetName="ScrollSidebarItems" /> | ||
<Setter Property="Orientation" Value="Horizontal" TargetName="PART_PanelSideBarItems" /> | ||
</DataTrigger> | ||
<DataTrigger Binding="{Settings SidebarPosition}" Value="Bottom"> | ||
<Setter Property="Margin" Value="0,0,5,0" TargetName="PART_ElemMainMenu" /> | ||
<Setter Property="BorderThickness" Value="0,1,0,0" TargetName="BorderContentHolder" /> | ||
<Setter Property="DockPanel.Dock" Value="Left" TargetName="PART_ElemMainMenu" /> | ||
<Setter Property="DockPanel.Dock" Value="Left" TargetName="ScrollSidebarItems" /> | ||
<Setter Property="Orientation" Value="Horizontal" TargetName="PART_PanelSideBarItems" /> | ||
</DataTrigger> | ||
</ControlTemplate.Triggers> | ||
</ControlTemplate> | ||
</Setter.Value> | ||
</Setter> | ||
</Style> | ||
</ResourceDictionary> |
Oops, something went wrong.