fix(ui): fully round buttons and menu rows by default
This commit is contained in:
@@ -159,7 +159,7 @@ impl Button {
|
||||
disabled: false,
|
||||
loading: false,
|
||||
padded: true,
|
||||
fully_rounded: false,
|
||||
fully_rounded: true,
|
||||
full_width: false,
|
||||
side: ButtonSide::default(),
|
||||
tab_stop: true,
|
||||
@@ -238,7 +238,7 @@ impl Button {
|
||||
self
|
||||
}
|
||||
|
||||
/// Renders the button as a circle instead of the control radius.
|
||||
/// Overrides the pill shape; buttons are fully rounded by default.
|
||||
pub fn fully_rounded(mut self, fully_rounded: bool) -> Self {
|
||||
self.fully_rounded = fully_rounded;
|
||||
self
|
||||
|
||||
Reference in New Issue
Block a user