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

VKeyboard: Fix key_background_color property not used #6879

Merged
merged 2 commits into from
May 16, 2020

Conversation

matthiasharrer
Copy link
Contributor

@matthiasharrer matthiasharrer commented May 15, 2020

When trying to style the VKeyboard Widget I came across the key_background_color property that is also described in the docs.

It however wasn't used when rendering the keys. This PR tries to fix this and applies the color when drawing the keys.

@welcome
Copy link

welcome bot commented May 15, 2020

Thanks for opening your first pull request here! 💖 Please check out our contributing guidelines.

@tshirtman
Copy link
Member

tshirtman commented May 15, 2020

indeed looks like it was unduly removed in 7b3b209, i guess removing it was "speeding up the loop" as it doesn't need to be applied every time, but it should be at least applied once, before the loop, can you move it up a couple lines?

@matthiasharrer
Copy link
Contributor Author

Sure :)

@matthiasharrer
Copy link
Contributor Author

matthiasharrer commented May 15, 2020

It seems it did never exist for the active keys though .. not sure if this is intentional or not.

Edit: It seems this has been removed in c0759f4

@tshirtman
Copy link
Member

yes, in any case it seems that it has been wrong for a long time, thanks for the fix!

@tshirtman tshirtman merged commit c0227c5 into kivy:master May 16, 2020
@welcome
Copy link

welcome bot commented May 16, 2020

Congrats on merging your first pull request! 🎉🎉🎉

@matham matham added this to the 2.0.0 milestone Oct 28, 2020
@matham matham changed the title Fix key_background_color property is not used VKeyboard: Fix key_background_color property not used Dec 9, 2020
@matham matham added the Component: Widgets kivy/uix, style.kv label Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Widgets kivy/uix, style.kv
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants