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.

Bug 114317 - Wrong bottom aligment of Close button in AboutBox form
Summary: Wrong bottom aligment of Close button in AboutBox form
Status: VERIFIED DUPLICATE of bug 110441
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-31 09:00 UTC by Jiri Vagner
Modified: 2007-09-13 15:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
bottom-aligment-of-close-button.png (53.37 KB, image/png)
2007-08-31 09:01 UTC, Jiri Vagner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Vagner 2007-08-31 09:00:24 UTC
Inside AboutBox dialog there is something wrong with aligment of Close button to bottom of form on GTK+ . In designer it
seems that button is aligned with bottom guideline of form, but in executed app, button is rendered glued on bottom edge
of form. After just re-aligning of button with form bottom guideline everything is ok, there is a space beneath the
button. See the screenshot.

Steps to reproduce:
 - create java desktop app project
 - run app, open About dialog and check position of Close button
 - open AboutBox frame in designer and re-align Close button with bottom guideline of form
 - again run app, open About dialog and check position of Close button

Product Version: NetBeans IDE Dev (Build 200708300413)
Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)
Comment 1 Jiri Vagner 2007-08-31 09:01:20 UTC
Created attachment 47859 [details]
bottom-aligment-of-close-button.png
Comment 2 Tomas Pavek 2007-09-06 13:02:14 UTC
I think it's the same cause as issue 110441. The problem is layout of multi-line label - it requires two passes to
compute correctly. If the whole layout is bigger than the picture on the left, the dialog has smaller size than needed.
Maybe we should add some additional code that resizes the dialog correctly. But such code is a bit ugly...

*** This issue has been marked as a duplicate of 110441 ***
Comment 3 Jiri Vagner 2007-09-13 15:00:20 UTC
OK