Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: Use transparent background for grid / collection view #1064

Merged
merged 4 commits into from
Jun 13, 2024

Conversation

wutschel
Copy link
Contributor

@wutschel wutschel commented May 19, 2024

Description

The grid / collection view was using a darker background as the list views. This PR applies changes to let the grid/collection views have the standard application background by using transparent backgrounds where needed. For rounded corners this also required a change to the PosterCell class to let a label view follow the borders of the underlying cover. For recently added posters the blue "selected" highlighting is reduced to 1 pixel and the non-selected state simply uses clear background. This enlarges the covers/fanart visibly.

Screenshots (left = old, right = new):

Bildschirmfoto-2024-05-20-um-17-14-42

Bildschirmfoto-2024-05-20-um-17-14-57

Summary for release notes

Improvement: Use transparent background for grid / collection view

Each of these is required to use the standard  background for grid views.
We need to apply rounded edges PosterCell 's bottom label view to align with the underlying cover.
Make the selected background only visible for 1 pixel. In consequence use CGFloat for frame dimensions and adapt factors.
@wutschel wutschel marked this pull request as ready for review May 21, 2024 05:07
@kambala-decapitator kambala-decapitator merged commit 497ebdd into xbmc:master Jun 13, 2024
@wutschel wutschel deleted the improve_gridview_colors branch June 13, 2024 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants