fix(segmented-button): fix tab navigation with vertical layout

This commit is contained in:
Michael Aaron Murphy 2024-06-07 11:14:52 +02:00
parent ce4580ab0b
commit 9bb89fefca
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -81,6 +81,7 @@ where
limits: &layout::Limits,
) -> Size {
state.internal_layout.clear();
state.buttons_visible = self.model.order.len();
let limits = limits.width(self.width);
let (width, mut height) = self.max_button_dimensions(state, renderer);