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

DPI-related fixes #779

Merged
merged 12 commits into from
Nov 2, 2012
Merged

DPI-related fixes #779

merged 12 commits into from
Nov 2, 2012

Conversation

tito
Copy link
Member

@tito tito commented Nov 2, 2012

This is a PR for moving all the appropriate default value from pixels to dp/sp. It also include a new kivy.metrics module with some conversion functions and expose few system values to the users.

It also remove the hack on Label fontsize * 1.333 if the size was specified in pixels.

int(12 * 1.333) = 15

-> All the previous font-size that used 12px should be renamed to 15sp.

tito added a commit that referenced this pull request Nov 2, 2012
@tito tito merged commit a4dadc1 into master Nov 2, 2012
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

1 participant