From aa84bd0e5c501d9a8c7a29f9afb05726b845f2e4 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Tue, 26 Nov 2019 16:39:00 +0100 Subject: [PATCH] Fix #1819: Tooltips: use Segoe for summary text (as in tree) --- ILSpy/TextView/DecompilerTextView.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ILSpy/TextView/DecompilerTextView.cs b/ILSpy/TextView/DecompilerTextView.cs index 667aa09ba..b5c221fed 100644 --- a/ILSpy/TextView/DecompilerTextView.cs +++ b/ILSpy/TextView/DecompilerTextView.cs @@ -417,7 +417,9 @@ namespace ICSharpCode.ILSpy.TextView }; this.Child = border; viewer.Foreground = SystemColors.InfoTextBrush; + document.TextAlignment = TextAlignment.Left; document.FontSize = fontSize; + document.FontFamily = SystemFonts.SmallCaptionFontFamily; } public bool CloseWhenMouseMovesAway {