dpi: fix tab width scaling

This commit is contained in:
Nick Vella 2019-06-13 21:55:56 +10:00
parent 9683414e61
commit 16a861e50a
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ namespace OpenLiveWriter.PostEditor
return;
}
size.Width += 20;
size.Width += (int)Math.Ceiling(DisplayHelper.ScaleX(20)); // Scale tab width for DPI, however height doesn't look quite right
size.Height += 8;
// Extra height for Selected state, which we won't use if we aren't selected