New Widget ComboboxScroll #5304
-
Hi, I'm currently working on an application that uses a ComboBox like this. I wanted to share my code with upstream. I had many issues getting started on it. I used #2657 as my starting point. After encountering transparency issues, I found out that the default palette of Fluent has a lot of transparency, so I created some extra brushes. A big issue that needs to be addressed, in my opinion, with this widget would be the ability to define the popup window height on line 282. If it's desired, I could start a PR, but I'm quite unsure about the Qt backend. I would probably heavily orient myself on the last widget added (#3871). I hope this can help someone out there |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, thank you very much for your proposal. Looks great. I have also thought about to implement it similar. The optimal solution would be that the popup stretches to a defined max height and then start to scroll if not all items fit in the max height. I tried it but with currently it is difficult to solve with |
Beta Was this translation helpful? Give feedback.
Hi, thank you very much for your proposal. Looks great. I have also thought about to implement it similar. The optimal solution would be that the popup stretches to a defined max height and then start to scroll if not all items fit in the max height. I tried it but with currently it is difficult to solve with
PopupWindow
. Until it is fixed for the popup I think the solution with a fixed popup window height and scroll could be a good solution.