fix: typo in resolve for segmented button
This commit is contained in:
parent
68dc09cd6c
commit
5530ac3254
1 changed files with 2 additions and 2 deletions
|
|
@ -176,8 +176,8 @@ where
|
||||||
let total_width = (state.buttons_visible as f32) * (width + spacing);
|
let total_width = (state.buttons_visible as f32) * (width + spacing);
|
||||||
|
|
||||||
size = limits.height(Length::Fixed(height)).resolve(
|
size = limits.height(Length::Fixed(height)).resolve(
|
||||||
total_width,
|
self.width,
|
||||||
height,
|
self.height,
|
||||||
Size::new(total_width, height),
|
Size::new(total_width, height),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue