slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
16.94k stars 568 forks source link

ComboBox dropdown is cut off at container extents #4843

Closed flukejones closed 6 months ago

flukejones commented 6 months ago

Quickest example of this is a ComboBox at teh bottom of the Window. The dropdown is hidden off the window edges.

The behaviour I would have expected is either the dropdown to recenter to show its full self or to reverse direction. This can of course be overcome with a custom widget, but perhaps the default widget should account for this, or document it?

ogoffart commented 6 months ago

Thanks for filling an issue.

Duplicate of https://github.com/slint-ui/slint/issues/2375 and https://github.com/slint-ui/slint/issues/4870