diff --git a/crates/ui/src/button/dropdown_button.rs b/crates/ui/src/button/dropdown_button.rs index 51b02512..ca82b112 100644 --- a/crates/ui/src/button/dropdown_button.rs +++ b/crates/ui/src/button/dropdown_button.rs @@ -57,6 +57,11 @@ impl DropdownButton { self.rounded = rounded.into(); self } + + pub fn compact(mut self) -> Self { + self.compact = Some(true); + self + } } impl Styled for DropdownButton {