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

Allow decimal values for StyleBoxFlat expand margins #35286

Conversation

pouleyKetchoupp
Copy link
Contributor

StyleBoxFlat now uses float values for expand margins just like StyleBoxTexture does, so it no longer converts to integers when using decimal values in set_expand_margin_ functions.

Helps with fixing #35279

@akien-mga
Copy link
Member

Not sure how to assess this change, from the discussion on #35279 it doesn't seem to do what's intended by @Zylann.

I'm unsure what impact this would have for people who want to have whole integer margin values without floating point precision errors and thus blurriness in their margins.

@pouleyKetchoupp
Copy link
Contributor Author

Ok, let's put this PR on hold for now then. We'll keep the discussion going in the issue itself and we'll see what to do from there.

@pouleyKetchoupp
Copy link
Contributor Author

Closing this PR, as having decimal values for adjusting margins is not desired and PR #35579 addresses the issue better.

@pouleyKetchoupp pouleyKetchoupp deleted the stylebox-flat-expand-margins-float branch January 26, 2020 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants