]> git.ipfire.org Git - thirdparty/krb5.git/commit
Leave 'OK' button visible in Leash AboutBox
authorBen Kaduk <kaduk@mit.edu>
Mon, 3 Dec 2012 17:25:07 +0000 (12:25 -0500)
committerBen Kaduk <kaduk@mit.edu>
Wed, 5 Dec 2012 18:40:56 +0000 (13:40 -0500)
commitceb486df4301608d5b2462011fed6534e60721bd
treed82552ded62ceb61a693763b75dfd19042b109aa
parenteef68e4dab824ef62dded1edb662d292ccad8984
Leave 'OK' button visible in Leash AboutBox

The AboutBox dialog as specified in the resource file is larger than
the one we display; the dialog init routine marks several things as
non-visible, moves the 'OK' button up to where the now-invisible items
were, and shrinks the dialog's bounding rectangle.

However, the edit boxes containing copyright and version information
seem to always present as being on top of the 'OK' button, and their
background causes the button to appear almost invisible with the current
repositioning.

To keep the 'OK' button visible, reduce the amount that it is moved
(and the amount the dialog is shrunk) so that the button does not overlap
with the edit box.

ticket: 7443
tags: pullup
target_version: 1.10.4
src/windows/leash/LeashAboutBox.cpp