mirror of
https://github.com/microsoft/terminal.git
synced 2026-07-08 18:16:28 +00:00
Merge branch 'user/migrie/per-window-prequel' into dev/migrie/per-window-final
This commit is contained in:
@@ -165,13 +165,13 @@ namespace winrt::TerminalApp::implementation
|
||||
_RecalculateAndApplyTabColor();
|
||||
}
|
||||
|
||||
void Tab::_UpdateHeaderControlMaxWidth(const winrt::Microsoft::Terminal::Settings::Model::WindowSettings& windowSettings)
|
||||
void Tab::_UpdateHeaderControlMaxWidth(const WindowSettings& windowSettings)
|
||||
{
|
||||
try
|
||||
{
|
||||
// Make sure to try/catch this, because the LocalTests won't be
|
||||
// able to use this helper.
|
||||
if (windowSettings.TabWidthMode() == winrt::Microsoft::UI::Xaml::Controls::TabViewWidthMode::SizeToContent)
|
||||
if (windowSettings.TabWidthMode() == MUX::Controls::TabViewWidthMode::SizeToContent)
|
||||
{
|
||||
_headerControl.RenamerMaxWidth(HeaderRenameBoxWidthTitleLength);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user