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 82077 - Customization of textfields width with feature "the same width" causes moving to left margin
Summary: Customization of textfields width with feature "the same width" causes moving...
Status: VERIFIED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-07 15:00 UTC by Jana Maleckova
Modified: 2006-10-23 15:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
82077_form (4.78 KB, text/xml)
2006-08-07 15:01 UTC, Jana Maleckova
Details
82077_java (4.83 KB, application/octet-stream)
2006-08-07 15:02 UTC, Jana Maleckova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2006-08-07 15:00:48 UTC
NetBeans IDE Dev (Build 200608061800)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b93
Windows XP version 5.1 running on x86
cs_CZ (nb); Cp1250

Description:
============
form files are in attachment. Select all the textfields and after right mouse
click choose "Same size - Same width". Then all the components will be moved to
the left margin.
Comment 1 Jana Maleckova 2006-08-07 15:01:46 UTC
Created attachment 32607 [details]
82077_form
Comment 2 Jana Maleckova 2006-08-07 15:02:16 UTC
Created attachment 32608 [details]
82077_java
Comment 3 Jan Stola 2006-08-10 12:41:19 UTC
I agree that at first sight it may looks like a bug, but it is a similar 
situation as with the issue 82145. The position of all components in this form 
is derived from the right edge of the container. Namely the jTextField2 and 
jTextField3 components are placed 153 pixels to the left from the right side of 
the container. When the Same Width action is invoked they get bigger (they 
obtain the width of jTextField1). Their position is given by the gap on their 
right side -> the left edge of the components must move. The labels are moved 
to the right because they are derived from the left side of the text fields.
So, the described behaviour is correct.
Comment 4 Jana Maleckova 2006-09-15 12:41:57 UTC
ok