Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Helyos96 opened this issue Oct 6, 2024 · 1 comment
Open
Labels
bug Something is broken egui layout Related to widget layout

Comments

@Helyos96
Copy link

Helyos96 commented Oct 6, 2024

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

  • Open ComboBox with items:
    image
  • Remove items and open it empty:
    image
  • Add items back and open it again, it's now quite small:
    image

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):

  • OS: W11
  • Version: 0.29.1
@Helyos96 Helyos96 added the bug Something is broken label Oct 6, 2024
@lucasmerlin lucasmerlin added layout Related to widget layout egui labels Oct 6, 2024
@lucasmerlin
Copy link
Collaborator

lucasmerlin commented Oct 6, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken egui layout Related to widget layout
Projects
None yet
Development

No branches or pull requests

2 participants