tkashkin / GameHub

All your games in one place
https://tkashkin.github.io/projects/gamehub
GNU General Public License v3.0
2.23k stars 128 forks source link

Option to hide game titles? #648

Open hjpaul7 opened 2 years ago

hjpaul7 commented 2 years ago

Could we get an option to hide game titles for a cleaner look? With some posters that have the title on the button, the game title overlaps it and looks off. Would be nice is we could just hide the title and only have the poster.

Also is there an option to add custome wine runners, such a wine-ge?

keze87 commented 2 years ago

I don't know if it's helpful but, as a workaround, I edit GameCard.vala to hide its label.

diff --git a/src/ui/views/GamesView/grid/GameCard.vala b/src/ui/views/GamesView/grid/GameCard.vala
index 5a1c21b..5f3172c 100644
--- a/src/ui/views/GamesView/grid/GameCard.vala
+++ b/src/ui/views/GamesView/grid/GameCard.vala
@@ -387,7 +387,7 @@ namespace GameHub.UI.Views.GamesView.Grid
                private void status_handler(Game.Status s)
                {
                        Idle.add(() => {
-                               label.label = game.name;
+                               label.label = " "; //game.name;
                                status_label.label = s.description;
                                favorite_icon.visible = game.has_tag(Tables.Tags.BUILTIN_FAVORITES);
                                switch(s.state)

game