fix(segmented_button): misaligned next tab button
This commit is contained in:
parent
135770a16d
commit
213ede371b
2 changed files with 5 additions and 16 deletions
|
|
@ -152,7 +152,7 @@ where
|
|||
|
||||
// If collapsed, use the maximum width available.
|
||||
visible_width = if state.collapsed {
|
||||
max_size.width - f32::from(self.button_height)
|
||||
max_size.width
|
||||
} else {
|
||||
total_width
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue