We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 doesn't respect the parent layout:
ui.vertical_centered(|ui| { egui::ComboBox::from_label("Take your pick") .selected_text(format!("{:?}", self.radio)) .show_ui(ui, |ui| { ui.selectable_value(&mut self.radio, Enum::First, "First"); ui.selectable_value(&mut self.radio, Enum::Second, "Second"); ui.selectable_value(&mut self.radio, Enum::Third, "Third"); }); });
The text was updated successfully, but these errors were encountered:
This is intentional. You can always put your own label wherever you want it
Sorry, something went wrong.
The problem is about the whole widget which i'd like to put in a specific layout. Am I missing anything?
Oh I see, my mistake.
Yeah, only atomic widgets can successfully be put into layouts. It's a similar problem for sliders. This cannot be solved until #843
No branches or pull requests
ComboBox doesn't respect the parent layout:
The text was updated successfully, but these errors were encountered: