This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
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 looks strange. 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.
core-main 5c59d9e8ccc4 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) Changeset: http://hg.netbeans.org/main/rev/5c59d9e8ccc4 User: S. Aubrecht <saubrecht@netbeans.org> Log: #120544 - centered image in About panel
Thanks for integrating it. I verified it using the nightly build from 2011-04-26.