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

Layout incorrectly restored when node has a minimum width and layout changes from 12 -> 1 -> 12 #1835

Closed
hssm opened this issue Aug 18, 2021 · 1 comment
Labels

Comments

@hssm
Copy link
Contributor

hssm commented Aug 18, 2021

Nodes with a minimum width that is larger than the transitioning column count (e.g: minW=2 when moving to 1-column mode) do not survive a layout change when the column count is restored.

I'll have a pull request with a fix shortly :)

Reproducible example

Steps to reproduce

1 - Start with a large window so the grid begins in 12-column mode
2 - Reduce the window size until it resizes into 1-column mode
3 - Expand the window to return to 12-column mode

Expected behavior

The original 12-column layout is restored.

Actual behavior

The widgets appear to be stuck in the 1-column placement with the wrong width.

Your environment

I've observed the issue on version 4.2.6 and 4.0.2.

@adumesny
Copy link
Member

fix in next release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants