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 80813 - Invalid layout in local simple type customizer
Summary: Invalid layout in local simple type customizer
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: bhate
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-21 12:59 UTC by Andrei Chistiakov
Modified: 2006-08-16 13:48 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Local simple type customizer window (14.87 KB, image/png)
2006-07-21 12:59 UTC, Andrei Chistiakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Chistiakov 2006-07-21 12:59:03 UTC
Reproduced in build 060720.

Please see the attached screenshot.
Comment 1 Andrei Chistiakov 2006-07-21 12:59:45 UTC
Created attachment 32091 [details]
Local simple type customizer window
Comment 2 bhate 2006-07-22 01:26:33 UTC
fixed alignment
Comment 3 Andrei Chistiakov 2006-07-25 13:42:52 UTC
I think that (except alignment) not all the controls have proper size. I mean
'Base Type' tree along with 'Current Selection' field. Looks like they should
have the same width that 'Preview' field has. 
The same happens in Complex Type Customizer with 'Use Existing Definition' selected.
Also please notice that 'Base Type' and 'Current Selection' fields are flat,
while 'Preview' field is sunken.
Comment 4 bhate 2006-07-26 00:57:53 UTC
Jirka,
can you review the simpletype customizer and provide your feedback
--> Jirka for feedback
Comment 5 Jiri Kopsa 2006-07-27 08:29:50 UTC
The alignment and size of the components is fine. The base type tree is
dependant on the radio button selection, so it's ok, that it's indented from
that radio button.

However, I can see other UI issues:
* the scrollpane with the base type should have a border
* if the descrription of the base type has two or more lines, the text does not
fit there and scrollbars show up. Ultimately, at least two lines of text would
fit into the dialog (without scrolbars being necessary).
* visibility of the current base type should be ensured when the dialog pops up.
Comment 6 bhate 2006-07-27 16:53:47 UTC
I will modify the customizer to show border and two lines of description.
Comment 7 bhate 2006-07-28 01:41:12 UTC
fixed border
Comment 8 Andrei Chistiakov 2006-07-31 11:23:07 UTC
Borders of preview and base type tree are different. Descrription of the base
type  still has no border. Build 060730.
Comment 9 Jiri Kopsa 2006-08-14 09:48:11 UTC
Preview has correct border; base type tree should have the same. There is no
need for a border around the label "Current Selection: ..."
Comment 10 bhate 2006-08-14 18:55:53 UTC
base type tree has same field border as the preview pane.
and as pers jirka's comments no border for current selection.
pl, verify.
Comment 11 Andrei Chistiakov 2006-08-16 13:48:20 UTC
Verified in build 060815_1.