Floyd Wang 2025-03-14 15:55:51 +08:00 committed by GitHub
parent 8e7ef5631e
commit 7442aa1fba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -371,7 +371,7 @@ impl Render for Dock {
return div();
}
let cache_style = StyleRefinement::default().v_flex().size_full();
let cache_style = StyleRefinement::default().absolute().size_full();
div()
.relative()

View file

@ -14,7 +14,7 @@ use crate::{
h_flex,
popup_menu::{PopupMenu, PopupMenuExt},
tab::{Tab, TabBar},
v_flex, ActiveTheme, AxisExt, IconName, Placement, Selectable, Sizable, StyledExt as _,
v_flex, ActiveTheme, AxisExt, IconName, Placement, Selectable, Sizable,
};
use super::{
@ -799,7 +799,7 @@ impl TabPanel {
.child(
active_panel
.view()
.cached(StyleRefinement::default().v_flex().size_full()),
.cached(StyleRefinement::default().absolute().size_full()),
),
)
.when(state.droppable, |this| {