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 82286 - LAYOUT: Horizontal/vertical resizability connected with column aligment causes wrong resizing and position of components
Summary: LAYOUT: Horizontal/vertical resizability connected with column aligment cause...
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks: 136425
  Show dependency tree
 
Reported: 2006-08-09 15:01 UTC by Jana Maleckova
Modified: 2011-10-04 08:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
82286_form (4.95 KB, text/xml)
2006-08-09 15:02 UTC, Jana Maleckova
Details
82286_java (5.00 KB, application/octet-stream)
2006-08-09 15:03 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-09 15:01:59 UTC
NetBeans IDE Dev (Build 200608061800)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b94
Windows XP version 5.1 running on x86
cs_CZ (nb); Cp1250

Description:
============
form files are in attachment. 
1. Select buttons4-6, set feature "change horizontal resizability" and click on
button "Align left in column". Then all selected buttons get the same width
which is adapted to the widest of them. I think it's not correct. I expected
that buttons get left aligment in column and their width stays unchanged.

2. Another unexpected behaviour is in the second group of buttons (buttons1-3).
These components are in horizontal paralel group. And if you do the same steps
as were described in the first case. Their width is not only adapted to the
widest button in group but all buttons are adapted to frame's width.
Comment 1 Jana Maleckova 2006-08-09 15:02:54 UTC
Created attachment 32713 [details]
82286_form
Comment 2 Jana Maleckova 2006-08-09 15:03:09 UTC
Created attachment 32714 [details]
82286_java
Comment 3 Jan Stola 2006-08-10 10:33:35 UTC
I don't agree that the first test case is a bug - there are two possible 
results of this operation - the actual behaviour and the described expected 
behaviour. Unfortunately we cannot read user's mind to find out what he/she 
expects. Note that you can simply achieve the second result by the following 
steps:
1. switch of resizability of the buttons
2. perform the alignment
3. switch the resizability on

The second use case seems to be really incorrect.
Comment 4 asenk 2011-10-04 08:41:46 UTC
Second use case fixed in 7.1 - Free Design improvements
Comment 5 asenk 2011-10-04 08:42:16 UTC
Verified

Product Version: NetBeans IDE Dev (Build 201110030601)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb)