dropdown_button: Add compact style (#555)
This commit is contained in:
parent
bd3cdd7167
commit
06e9b1a25c
1 changed files with 5 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue