Prevent panes from overflowing the window (#3609)
This PR fixes an issues where it was possible for panes to overflow the window (for instance, by having a large number of tabs in the tab bar). Release Notes: - N/A
This commit is contained in:
@@ -2106,6 +2106,7 @@ impl Render for Pane {
|
||||
.key_context("Pane")
|
||||
.track_focus(&self.focus_handle)
|
||||
.size_full()
|
||||
.flex_none()
|
||||
.overflow_hidden()
|
||||
.on_action(cx.listener(|pane, _: &SplitLeft, cx| pane.split(SplitDirection::Left, cx)))
|
||||
.on_action(cx.listener(|pane, _: &SplitUp, cx| pane.split(SplitDirection::Up, cx)))
|
||||
|
||||
Reference in New Issue
Block a user