diff --git a/CHANGELOG.md b/CHANGELOG.md index 035ec83a..c9c92c01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * Color picker * Unicode characters in labels (limited by [what the default font supports](https://fonts.google.com/specimen/Comfortaa#glyphs)) +* Simple drop-down combo box menu ## 0.1.4 - 2020-09-08 diff --git a/egui/src/containers/combo_box.rs b/egui/src/containers/combo_box.rs new file mode 100644 index 00000000..92b967b9 --- /dev/null +++ b/egui/src/containers/combo_box.rs @@ -0,0 +1,124 @@ +use crate::{paint::PaintCmd, style::WidgetVisuals, *}; + +pub fn combo_box_with_label( + ui: &mut Ui, + label: impl Into