#Confusing logic of arrangement
1 messages · Page 1 of 1 (latest)
Why the seemingly forced random order?
You would expect things to be arranged in a 1 2 3 4 5 6 7 8 manner but it is 1 3 5 2 4 6 7 8 9...
And it changes as you resize. Masonry tries to fill the empty spaces. That's what it does and the number order shifts
The order looks correct to me - 1 2 3 4 5 6, alphabetical and they should rearrange as you resize the screen
Masonry Algorithm:
1 - Fills the first column
2 - Because column height is < some fixed number, go below 1
3 - Because column 1 height is > fixed amount, start a new column
4 - Same as 2
5 - Same as 3 - starts a new column
6 - Same as 2
7 - As maximum columns are now filled, append to the shortest column (or leftmost column if tied)
8 - Same as 7
9 - Same as 7
We launched the new, experimental dashboard sections feature with our 2024.3 release! 🎉 Here's 90 seconds on how to get started when you update. 🤓
It's not the only thing new this month, you can read about this change and more on our blog: https://www.home-assistant.io/blog/2024/03/06/release-20243/
More ways to follow us:
Newsletter: https://...