mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-22 10:55:19 -04:00
[ui] adjust status bar button for XP
This commit is contained in:
parent
c7c83a16ed
commit
289e12dbbb
2 changed files with 9 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue