mirror of
https://github.com/microsoft/terminal.git
synced 2026-02-08 05:37:27 +00:00
Make the about dialog's contents selectable (#1452)
(cherry picked from commit 0fba910d75)
This commit is contained in:
@@ -262,7 +262,11 @@ namespace winrt::TerminalApp::implementation
|
||||
|
||||
const auto buttonText = resourceLoader.GetString(L"Ok");
|
||||
|
||||
_ShowDialog(winrt::box_value(title), winrt::box_value(aboutText), buttonText);
|
||||
Controls::TextBlock aboutTextBlock;
|
||||
aboutTextBlock.Text(aboutText);
|
||||
aboutTextBlock.IsTextSelectionEnabled(true);
|
||||
|
||||
_ShowDialog(winrt::box_value(title), aboutTextBlock, buttonText);
|
||||
}
|
||||
|
||||
// Method Description:
|
||||
|
||||
Reference in New Issue
Block a user