[cr149] Hide vertical tab strip host view when vertical tabs are not shown.
Specify visibility to false when adding vertical tab strip host view to layout.
This commit is contained in:
@@ -185,7 +185,7 @@ BraveBrowserViewTabbedLayoutImpl::CalculateProposedLayout(
|
||||
// This is Brave specific view so the layout shouldn't be populated by
|
||||
// upstream's logic.
|
||||
CHECK(!layout.GetLayoutFor(views().vertical_tab_strip_host));
|
||||
layout.AddChild(views().vertical_tab_strip_host, gfx::Rect());
|
||||
layout.AddChild(views().vertical_tab_strip_host, gfx::Rect(), false);
|
||||
}
|
||||
|
||||
// Adjust infobar layout if vertical tabs are shown. i.e. sets insets to
|
||||
|
||||
Reference in New Issue
Block a user