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.
Build 051108 Steps: - open an attached form - select Preview tab - select all JComboBoxes and invoke Align Left In Column action from toolbar !! All JLabels are moved !! - select JLabel (Show text in icon) and try to move it to the right for a tab space => an attached AssertionError is thrown
Created attachment 26703 [details] FileManagmentPrefs.form
Created attachment 26704 [details] FileManagmentPrefs.java
Created attachment 26705 [details] Exception
I've fixed the exception. Lowering priority. /cvs/form/src/org/netbeans/modules/form/layoutdesign/LayoutDesigner.java new revision: 1.77; previous revision: 1.76
More fixes to avoid the layout blowing up when editing after using "Align Left in Column"; but the align action still needs to be fixed. /cvs/form/src/org/netbeans/modules/form/layoutdesign/LayoutFeeder.java new revision: 1.50; previous revision: 1.49 /cvs/form/src/org/netbeans/modules/form/layoutdesign/LayoutOperations.java new revision: 1.27; previous revision: 1.26 /cvs/form/src/org/netbeans/modules/form/layoutdesign/LayoutDesigner.java new revision: 1.87; previous revision: 1.86
The remaining problem can be reproduced on a simpler example. In the attached form align the two comboboxes via align left toolbar action. Then the indented labels lose the indent (move left).
Created attachment 46353 [details] aligning with indentation issue - .form file
Created attachment 46354 [details] aligning with indentation issue - .java file
Fixed in 7.1 - Free design improvments
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)