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(); return div();
} }
let cache_style = StyleRefinement::default().v_flex().size_full(); let cache_style = StyleRefinement::default().absolute().size_full();
div() div()
.relative() .relative()

View file

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