Playnite Forums
Enhanced Grid View 2.0 - Printable Version

+- Playnite Forums (https://playnite.link/forum)
+-- Forum: Extension Database (https://playnite.link/forum/forum-3.html)
+--- Forum: Themes - Desktop (https://playnite.link/forum/forum-8.html)
+--- Thread: Enhanced Grid View 2.0 (/thread-311.html)

Pages: 1 2 3 4


RE: Enhanced Grid View 2.0 - Cromi - 07-12-2020

(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="&#xeded;" 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.


RE: Enhanced Grid View 2.0 - Alowen - 07-12-2020

That worked, cheers!


RE: Enhanced Grid View 2.0 - lionnesquaer - 07-12-2020

@Cromi
Thank you for update! See that you choose that place for the close button...
Not really that i imagine, so i make modification of your theme v. 2.0, i place close button on art in up left corner, almost not noticible, but for me very easy to use Smile

[attachment=420]


RE: Enhanced Grid View 2.0 - Cromi - 07-12-2020

(07-12-2020, 08:26 PM)lionnesquaer Wrote: @Cromi
Thank you for update! See that you choose that place for the close button...
Not really that i imagine, so i make modification of your theme v. 2.0, i place close button on art in up left corner, almost not noticible, but for me very easy to use Smile

After testing that was the position I was happiest with.  One of the good things about Playnite is how a person can customize themes to their liking.  Smile


RE: Enhanced Grid View 2.0 - Cromi - 07-18-2020

Updated theme to 2.2.  The biggest problem I had with putting the close button in the upper right corner was that is was easily hidden by the colors of the banner image.  I solved this by putting the button inside a colored box (I'm using the play button as the format).  Now either the box or the close button itself should always be visible in the top right.


RE: Enhanced Grid View 2.0 - Alowen - 07-18-2020

Can you tell me how I can remove the close button? I prefer it without alltogether! Keep up the great work.


RE: Enhanced Grid View 2.0 - Cromi - 07-18-2020

(07-18-2020, 05:05 PM)Alowen Wrote: Can you tell me how I can remove the close button? I prefer it without alltogether! Keep up the great work.

In /views/GridViewGameOverview.xaml find and delete

                            <Grid HorizontalAlignment="right"
                                  VerticalAlignment="top"
                                  Margin="0,10,20,0">
                                <Button HorizontalAlignment="Right"
                                        Content="☓" FontFamily="Courier New"
                                        Style="{DynamicResource PlayButton}"
                                        Command="{MainViewModel CloseGameSideBarCommand}"
                                        DockPanel.Dock="Top" Margin="0,0,0,0" />
                            </Grid>

Note: for some reason the code box on this forum is parsing the hex for the ☓ symbol.  There will be a hex code in Content="" instead of an ☓, so don't let the discrepancy worry you.


RE: Enhanced Grid View 2.0 - Alowen - 07-18-2020

again, perfect, thanks for the quick reply Smile.


RE: Enhanced Grid View 2.0 - Cromi - 07-18-2020

Added 3 new color variations based on Doom, Darksiders, and Enigmatis 2 games.


RE: Enhanced Grid View 2.0 - tuubelo - 07-21-2020

Hi! This looks good. I cannot find any installation guide? I dragged the file to Playnite, it asks to restart, after restart the new theme is selected but it doesn't change anything. What am I missing?

EDIT: Oh it just looked the same because the view widths did not change automatically. Another question, why is the details panel width maxed out at 1024? I cannot increase it, so it looks a bit weird.


RE: Enhanced Grid View 2.0 - Cromi - 07-21-2020

(07-21-2020, 05:59 AM)tuubelo Wrote: Oh it just looked the same because the view widths did not change automatically. Another question, why is the details panel width maxed out at 1024? I cannot increase it, so it looks a bit weird.

I want to have as little hard coding as possible in my theme, so the width has to be set manually.  As for the max width being 1024, that is a limitation set by Playnite.  I think it comes down to me doing something with my theme that was not anticipated by Crow  Confused .


RE: Enhanced Grid View 2.0 - tuubelo - 07-21-2020

Ok! 1024 was probably a good choice for 1080p displays, but for bigger it's a bit limiting.


RE: Enhanced Grid View 2.0 - klownk - 10-18-2020

Hi,
I can't install this theme. When I drop the pthm file I have this :
 [Image: 18-10-2020-22-14-03.png]


RE: Enhanced Grid View 2.0 - Cromi - 10-19-2020

I've re-packaged the files to work with Playnite 8. The new notes field is not yet part of the theme. I'll update it when I can get a chance.


RE: Enhanced Grid View 2.0 - Alowen - 10-25-2020

Still using your theme and nothing for me comes close. Are you planning anything new? Ideas for the upcoming versions?


RE: Enhanced Grid View 2.0 - Cromi - 10-27-2020

(10-25-2020, 06:14 AM)Alowen Wrote: Still using your theme and nothing for me comes close. Are you planning anything new? Ideas for the upcoming versions?

I'm happy you're still enjoying my theme.  If you haven't tried it yet, 8 added the ability to increase the size of the Grid View Details panel.  This feature is a close reproduction of Steam old library of clicking on a cover and opening details, which is very close to what I was trying to do originally.  With this feature now I'm not sure of what else is needed besides updating to add extra features created with version 8.

[Image: DWaNOpp.png]

[Image: W2P9NHC.png]


RE: Enhanced Grid View 2.0 - Alowen - 10-27-2020

I have not even thought of using it that way. Thanks! Nothing extra was needed, for me it is perfect. Was just curious.


RE: Enhanced Grid View 2.0 - Cromi - 10-27-2020

Updated to 2.3; which adds the Notes field.


RE: Enhanced Grid View 2.0 - Steev7 - 10-29-2020

New to all this. Don't have the know how to create my own. Yours is pretty damn close to what I was visioning. However is there a way to make it 1 row and side scrolling thru them. And maybe centering the grid to center left.


RE: Enhanced Grid View 2.0 - Cromi - 10-30-2020

(10-29-2020, 04:40 PM)Steev7 Wrote: New to all this. Don't have the know how to create my own. Yours is pretty damn close to what I was visioning. However is there a way to make it 1 row and side scrolling thru them. And maybe centering the grid to center left.

Desktop mode scrolls up and down only.  The cover art auto centers, and you can adjust the size of the cover art using the slider at the bottom as well as adjust the size of the different desktop panels in the settings menu to get to a single row.  Here is an example of a customized theme I was using for a while.


[Image: AxuIL7b.png]