From 7aade44e7a82a478b94767af8c19baa94e7f8e1d Mon Sep 17 00:00:00 2001 From: Floyd Wang Date: Fri, 24 Jan 2025 15:28:51 +0800 Subject: [PATCH] dock: Fix the tab panel cannot fill the entire height (#575) ## Before image ## After image --- crates/ui/src/dock/tab_panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui/src/dock/tab_panel.rs b/crates/ui/src/dock/tab_panel.rs index e588c1c3..39e74459 100644 --- a/crates/ui/src/dock/tab_panel.rs +++ b/crates/ui/src/dock/tab_panel.rs @@ -725,7 +725,7 @@ impl TabPanel { return Empty {}.into_any_element(); }; - div() + v_flex() .id("tab-content") .group("") .overflow_y_scroll()