Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
Tweak Options visuals (labels, spacing, colors) & fix off-by-pixel bu…
Browse files Browse the repository at this point in the history
…g on high DPI
  • Loading branch information
chylex committed Jul 27, 2018
1 parent b25fae5 commit a951c3a
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 63 deletions.
4 changes: 4 additions & 0 deletions Core/Other/FormSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ sealed partial class FormSettings : Form, FormManager.IAppDialog{
}
}

if (tab.Control.Height < panelContents.Height-2){
tab.Control.Height = panelContents.Height-2; // fixes off-by-pixel error on high DPI
}

tab.Control.OnReady();
}

Expand Down
2 changes: 1 addition & 1 deletion Core/Other/Settings/TabSettingsFeedback.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 25 additions & 25 deletions Core/Other/Settings/TabSettingsGeneral.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a951c3a

Please sign in to comment.