Describe the bug
When resizing a window or container with a Slider inside, the Slider will only update its line length after the second update, causing it to raise a LineLengthError.
To Reproduce
Create a Window
Add a Slider
Resize window to become smaller
Expected behavior
The slider should update its width.
Describe the bug When resizing a window or container with a Slider inside, the Slider will only update its line length after the second update, causing it to raise a LineLengthError.
To Reproduce
Expected behavior The slider should update its width.
System information
Possible cause The
Slider.get_lines
method doesn't properly handle resizing.