The dialog shown after clicking the Help->About menu displays the about.png image. If this image is too large (more
than about 525 pixels wide by about 250 pixels high), than the image is simply cropped. If the image is smaller (e.g.
333 x 250), then the image is not cropped but is left-aligned in the dialog box with extra whitespace to the right and
I see two easy solutions: make the dialog size be based upon the size of the about.png image and/or center the image in
the dialog box. This will improve the appearance when using smaller images.
For context, this seems related to http://www.netbeans.org/issues/show_bug.cgi?id=112932
Created attachment 52053 [details]
Help -> About Dialog Screenshot Illustrating Issue
Valid, should be relative simple to implement. Anyone from community is interested in working on it?
Created attachment 107694 [details]
Patch which centers image both horizontally and vertically in Help:About dialog
I have developed a patch which fixes the problem I originally reported. I verified that it centers the image (both horizontally and vertically) in the Help -> About dialog. I did so using three images of various dimensions under MS Windows XP. Although I was able to test only on MS Windows, I have no reason to suspect it wouldn't work on other platforms.
thank you for the patch!
Integrated into 'main-golden', will be available in build *201104220000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: S. Aubrecht <email@example.com>
Log: #120544 - centered image in About panel
Thanks for integrating it. I verified it using the nightly build from 2011-04-26.