[ui] adjust status bar button for XP

This commit is contained in:
Pete Batard 2015-07-09 01:20:21 +01:00
parent c7c83a16ed
commit 289e12dbbb
2 changed files with 9 additions and 5 deletions

View file

@ -446,6 +446,10 @@ void CreateStatusBar(void)
// Compute the dimensions for the hash button
x = edge[0];
if (nWindowsVersion <= WINDOWS_XP) {
x -= 1;
height -= 2;
}
y = rect.bottom - height + 1;
width = edge[1] - edge[0] - 1;
// How I wish there was a way to figure out how to make Windows controls look good