Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macglue.c @ 4329:a240be5be6b4 legacy-trunk
About boxes should be at 20% of screen height, not halfway
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Mon, 23 Sep 1996 15:51:06 +0000 |
| parents | 12c3865aeaa0 |
| children | d25a0ccbfd6b |
line wrap: on
line diff
--- a/Mac/Python/macglue.c Mon Sep 23 15:49:43 1996 +0000 +++ b/Mac/Python/macglue.c Mon Sep 23 15:51:06 1996 +0000 @@ -557,7 +557,7 @@ 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);
