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 257519

Summary: Hard to align elements inside the swing GUI builder Matisse
Product: guibuilder Reporter: Christian Lenz <chrizzly>
Component: Natural LayoutAssignee: issues@guibuilder <issues>
Status: CLOSED INVALID    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Other   
Issue Type: DEFECT Exception Reporter:
Attachments: Swing GUI builder - Alignment broken

Description Christian Lenz 2016-01-11 15:44:37 UTC
Created attachment 158087 [details]
Swing GUI builder - Alignment broken

It is often really a pain in the ass to align elements accurate to a millimetre, because of the gapping or the automatic alignment to a grid. Hope it's understandable, when I try to align an element to an other and the GUI Builder catches the border of the other element to align it to the same X or Y coordinate.

As you can see it in my little screen capture, it is not really possible to do what I want. You see a list of checkboxes and each checkbox should has the same position. I mean line for line, checkboxes should have the same margins to each other elements and so on. What you see, there is a little missalignment and I try to align it via mouse. The one checkbox jumps to an other position, the label too, after mouse up on an really other position.

I need 2 things here:

1. Disable the gapping or the catch of the element to align it automatically to not align it to a grid.

2. I need to align each element with my keyboard. This is normal in paint, paintDOTnet, Photoshop and so on. You can hit the arrow keys to align the elements accurate to a millimetre or you can hit shift + arrow key to move the element with more space. This is not working at all. I think I have to change the XML of the form file separately to change the coordinates if they are inside. If not I have to find another GUI builder.

What is implemented, when I hit ctrl + arrow keys, the component will be duplicated.


Regards

Chris
Comment 1 Christian Lenz 2018-10-25 15:14:08 UTC
I will close it, because it will handled now at the JIRA board: https://issues.apache.org/jira/browse/NETBEANS-1411. Please discuss it there for further information.