]> granicus.if.org Git - python/commitdiff
About boxes should be at 20% of screen height, not halfway
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 23 Sep 1996 15:51:06 +0000 (15:51 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 23 Sep 1996 15:51:06 +0000 (15:51 +0000)
Mac/Python/macglue.c

index df646ea904b888ca19235ad45e2e8ef69a8922e2..f996f4a6fd54fb6c8c69f4959edb18ded28e0531 100644 (file)
@@ -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);