Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve margins in formlayout #12885

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

Merged
merged 1 commit into from
Nov 30, 2018
Merged

Conversation

timhoffm
Copy link
Member

PR Summary

The formlayout has some extra margins in some places. This happens when nesting widgets into a container widget with a layout, which by default has a margin. If you then layout the (transparent) container together with regular widgets. The margin of the container widget insets its content compared to other widgets in the outer layout. This results in extra large margins and edges not being aligned.

This PR removes the extra margins to give a more homogeneous look:

before:
grafik

after:
grafik

@anntzer anntzer added this to the v3.1 milestone Nov 26, 2018
@jklymak jklymak merged commit 80d0778 into matplotlib:master Nov 30, 2018
@timhoffm timhoffm deleted the formlayout-margin branch December 1, 2018 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants