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 204777 - Wrong layout of server setting tab in new project wizard
Summary: Wrong layout of server setting tab in new project wizard
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords: UI
: 211512 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-07 15:04 UTC by Jiri Skrivanek
Modified: 2012-04-25 10:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot. (28.02 KB, image/png)
2011-11-07 15:04 UTC, Jiri Skrivanek
Details
Windows screen shot. (20.12 KB, image/png)
2012-01-02 09:32 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2011-11-07 15:04:23 UTC
Created attachment 112927 [details]
Screen shot.

Java EE version label is trimmed and height of related combo box is too small (see attached screen shot). It is in Server Settings tab of maven web application wizard.

Product Version: NetBeans IDE Dev (Build 201111060600)
Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02
System: Linux version 2.6.38-8-generic running on i386; UTF-8; en_US (nb)
Comment 1 Martin Janicek 2011-11-11 10:56:22 UTC
Jirko, do you have the latest sources? I made a UI change in this wizard window when I was fixing issue 204278. From the screen shot is seems to me that it's the old design, but I can't say for sure.

It's quite difficult to me to fix this because it works perfectly fine on x64 Windows and it looks good in Matisse either.
Comment 2 Jiri Skrivanek 2011-11-11 14:02:09 UTC
Attached screen shot is from build 201111060600 as stated in this bug description. It was tested on Ubuntu in VirtualBox.
Comment 3 Martin Janicek 2011-12-28 16:55:38 UTC
Fixed in: web-main #94cac9390cb7
Comment 4 Quality Engineering 2011-12-29 14:00:07 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/94cac9390cb7
User: Martin Janicek <mjanicek@netbeans.org>
Log: #204777 - Wrong layout of server setting tab in new project wizard
Comment 5 Jiri Skrivanek 2012-01-02 09:32:00 UTC
Created attachment 114547 [details]
Windows screen shot.

Now it is not aligned on windows.
Comment 6 Martin Janicek 2012-01-06 11:53:09 UTC
Well, the source of the issue is much more generic. It seems that Matisse doesn't work for JComboBoxes properly in some cases. For example when creating new class under the package (meaning from project tree), the 'Location' combo box is the same small combo as it was here (referring to the first screen shot).

It might be related to usage of special renderer. I've tried that with default renderer (DefaultListCellRenderer class) and in that case it was sized and positioned correctly - but such a render cannot be used in some cases.
Comment 7 Martin Janicek 2012-04-23 09:05:34 UTC
*** Bug 211512 has been marked as a duplicate of this bug. ***
Comment 8 Martin Janicek 2012-04-24 14:33:49 UTC
Align problem fixed in: web-main #021e6387e2cb
Comment 9 Martin Janicek 2012-04-24 15:50:52 UTC
Two more change-sets: web-main #e0f96b771ee5 and #1cd9349c0233

--> now the UI should be consistent on both Windows and Linux
Comment 10 Quality Engineering 2012-04-25 10:00:37 UTC
Integrated into 'main-golden', will be available in build *201204250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/021e6387e2cb
User: Martin Janicek <mjanicek@netbeans.org>
Log: #204777 - Wrong layout of server setting tab in new project wizard