8000 Improve margins in formlayout by timhoffm · Pull Request #12885 · matplotlib/matplotlib · GitHub 8000
[go: up one dir, main page]

Skip to content

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

0