Weather: better dynamic layouting
The weather widget currently uses useElementSize
and then calculates columns using the number of available pixels. This is brittle, it doesn't work if the content changes size - such as with additional information (like precipitation change) or the user changes the font size
Instead, the weather widget should use a CSS based method to only show as many hour/day columns as needed. Alternatively, the useElementSize method should calculate the child size.
Edited by rubenwardy