Remove flex_1 from bottom dock to fix pane group spacing
This commit is contained in:
parent
d6f173866e
commit
f9804feefa
2 changed files with 7 additions and 22 deletions
|
@ -63,7 +63,7 @@ use std::{
|
|||
sync::{atomic::AtomicUsize, Arc},
|
||||
time::Duration,
|
||||
};
|
||||
use theme2::{ActiveTheme, ThemeSettings};
|
||||
use theme2::{default_color_scales, ActiveTheme, ThemeSettings};
|
||||
pub use toolbar::{ToolbarItemEvent, ToolbarItemLocation, ToolbarItemView};
|
||||
pub use ui;
|
||||
use util::ResultExt;
|
||||
|
@ -3666,7 +3666,7 @@ impl Render for Workspace {
|
|||
&self.app_state,
|
||||
cx,
|
||||
))
|
||||
.child(div().flex().flex_1().child(self.bottom_dock.clone())),
|
||||
.child(self.bottom_dock.clone()),
|
||||
)
|
||||
// Right Dock
|
||||
.child(
|
||||
|
@ -3679,19 +3679,6 @@ impl Render for Workspace {
|
|||
),
|
||||
)
|
||||
.child(self.status_bar.clone())
|
||||
.z_index(8)
|
||||
// Debug
|
||||
.child(
|
||||
div()
|
||||
.flex()
|
||||
.flex_col()
|
||||
.z_index(9)
|
||||
.absolute()
|
||||
.top_20()
|
||||
.left_1_4()
|
||||
.w_40()
|
||||
.gap_2(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue