Changed several places using hard-coded size values to use FromDIP instead.

This commit is contained in:
Steve Browne
2015-11-24 12:21:43 -05:00
parent 6d38fb81dc
commit 633d04ca92
8 changed files with 14 additions and 10 deletions

View File

@@ -39,7 +39,7 @@ public:
// borderOther is the margin on all other sides
virtual void GetBordersForSizer(int *borderTop, int *borderOther) const
{
const int BORDER = 5; // FIXME: hardcoded value
const int BORDER = FromDIP(5); // FIXME: hardcoded value
*borderTop = GetLabel().empty() ? BORDER : GetCharHeight();
*borderOther = BORDER;