emilk / egui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
https://www.egui.rs/
Apache License 2.0
22.55k stars 1.62k forks source link

ComboBox popup height is too small if it's been opened while empty #5225

Open Helyos96 opened 1 month ago

Helyos96 commented 1 month ago

Describe the bug If you open an empty ComboBox, the popup size somehow gets affected. If you add items to the ComboBox later on, it will remain quite small compared to the size it would have if items had always been there.

I haven't had any luck trying to force its height to be bigger. In fact I don't think you can control the size of a ComboBox popup?

To Reproduce

Expected behavior Popup size should not remain small after opening an empty ComboBox. Would be even nicer if there was a way to control it (maybe I missed it though).

Desktop (please complete the following information):

lucasmerlin commented 1 month ago