07-12-2020, 06:48 PM
(07-12-2020, 08:42 AM)Alowen Wrote: It works flawlessly and getting so close to what I wanted my setup to be when i first downloaded Playnite. Thanks for making it happen.
Maybe something very minor (but I am clueless and dont know how to edit it myself).
The only thing that I dont need is the edit button that apears when i hover over the "play" and "more" buttons for example. Is there a way to remove this? As there is an edit option under the 'more' button anyway, and it keeps on appearing.
I'm happy you like my theme. The edit button is hard coded into Playnite with no options to hide it without editing the code manually.
If you want to hide it manually, you can open \Views\GridViewGameOverview.xaml in the theme package with a text editor then:
Find
<Button x:Name="PART_ButtonEditGame"
Margin="10,0,0,0" Height="40" Focusable="False"
Content="" FontFamily="{DynamicResource FontIcoFont}"
Visibility="Hidden">
<Button.Style>
<Style TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
<Setter Property="Visibility" Value="Hidden" />
<Style.Triggers>
<DataTrigger Binding="{Binding IsMouseOver, RelativeSource={RelativeSource AncestorType=DockPanel}}" Value="True">
<Setter Property="Visibility" Value="Visible" />
</DataTrigger>
</Style.Triggers>
</Style>
</Button.Style>
</Button>
And replace it with
<Button x:Name="PART_ButtonEditGame"
Margin="0,0,0,0"
Visibility="Hidden" />
Make sure not to edit any other parts of the code.