slint icon indicating copy to clipboard operation
slint copied to clipboard

Scrollbars always take up space, even when hidden

Open bjorn opened this issue 2 years ago • 8 comments

The scrollbars of the ScrollView are hidden when horizontal scrolling isn't needed. However, they still take up space, which is unexpected.

Screenshot showing the problem when running SLINT_STYLE=fluent cargo run -p gallery, with the issue highlighted by red lines (the text of the left TextEdit clips too early at the bottom):

image

This issue is visible for fluent, material and cupertino styles. In native style, the scrollbars don't hide at all when they are not needed (but would be nice if they would).

bjorn avatar Sep 06 '23 09:09 bjorn