mirror of https://github.com/python/cpython.git
About boxes should be at 20% of screen height, not halfway
This commit is contained in:
parent
04df9d5ad4
commit
0e06e7e7d5
|
@ -557,7 +557,7 @@ SIOUXDoAboutBox(void)
|
|||
swidth = qd.screenBits.bounds.right - qd.screenBits.bounds.left;
|
||||
sheight = qd.screenBits.bounds.bottom - qd.screenBits.bounds.top - LMGetMBarHeight();
|
||||
xpos = (swidth-width)/2;
|
||||
ypos = (sheight-height)/2 + LMGetMBarHeight();
|
||||
ypos = (sheight-height)/5 + LMGetMBarHeight();
|
||||
MoveWindow(theWindow, xpos, ypos, 0);
|
||||
ShowWindow(theWindow);
|
||||
ModalDialog(NULL, &item);
|
||||
|
|
Loading…
Reference in New Issue