fix(segmented-button): fix tab navigation with vertical layout
This commit is contained in:
parent
ce4580ab0b
commit
9bb89fefca
1 changed files with 1 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ where
|
||||||
limits: &layout::Limits,
|
limits: &layout::Limits,
|
||||||
) -> Size {
|
) -> Size {
|
||||||
state.internal_layout.clear();
|
state.internal_layout.clear();
|
||||||
|
state.buttons_visible = self.model.order.len();
|
||||||
let limits = limits.width(self.width);
|
let limits = limits.width(self.width);
|
||||||
|
|
||||||
let (width, mut height) = self.max_button_dimensions(state, renderer);
|
let (width, mut height) = self.max_button_dimensions(state, renderer);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue