Skip to content

Commit d01a0f0

Browse files
Yurii Lungapavlo-klymentenko
authored andcommitted
fix: open the flexible growth property of tabs content container for heirs
1 parent b94d2aa commit d01a0f0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Editor/UIToolkit/SettingsWindow/PackageSettingsWindow.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,15 @@ protected void AddTab(string label, VisualElement content)
8282
throw new ArgumentException($"Tab '{label}' already added", nameof(label));
8383
}
8484
}
85+
86+
/// <summary>
87+
/// Set the flexible growth property of tabs content container
88+
/// </summary>
89+
/// <param name="styleFloat"></param>
90+
protected void ContentContainerFlexGrow(StyleFloat styleFloat)
91+
{
92+
m_TabsContainer.contentContainer.style.flexGrow = styleFloat;
93+
}
8594

8695
/// <summary>
8796
/// Method will show and doc window next to the Inspector Window.

0 commit comments

Comments
 (0)