You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Lenz (JIRA)" <ji...@apache.org> on 2019/04/24 07:47:00 UTC

[jira] [Commented] (NETBEANS-1411) Hard to align elements inside the swing GUI builder Matisse

    [ https://issues.apache.org/jira/browse/NETBEANS-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16824881#comment-16824881 ] 

Christian Lenz commented on NETBEANS-1411:
------------------------------------------

I got this little proposal: 

{code}
Moving a component
Users can move components by these ways:

By Mouse - Component disappears from old position and is being dragged by user. When component is aligned to other component/border/group, guiding lines are displayed and are suggesting right position. The Help Messenger reacts on this state by suitable message too. When ESC is pressed, components returns at position before dragging.
By Keyboard - User will move component by using arrow keys. Or she can use Shift+arrow keys combination too. It will cause moving a component in the layout according to guiding lines.
By Mouse and Keyboard combination - When Shift key is pressed during dragging, then user can move only horizontally or vertically. It will preserve X or Y positions of component.
Beyond this user's moving can happen automatic moving, such that components are moved accordingly with another one was moved/resized.
{code}

from this page: https://ui.netbeans.org/docs/ui/guibuilder/ unfortunately it was never implemented.

> Hard to align elements inside the swing GUI builder Matisse
> -----------------------------------------------------------
>
>                 Key: NETBEANS-1411
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1411
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: guibuilder - Natural Layout
>    Affects Versions: Next
>            Reporter: Christian Lenz
>            Priority: Major
>         Attachments: mantisse-problems-jumping.gif, matisseRearrangement.gif, swingAlignmentBroken.gif
>
>
> You can't be pixel perfect inside of the gui builder because of the automated gaps and rearrangement of the elements, when you move elements arround.
> Please see my screencast (swingAlignmentBroken.gif) for what I mean. It is really hard to align all items, as I want, due to the gap, trying to be perfect fit but I can't align it px perfect. And then it will rearrangement a lot which breaks the layout.
> The second screencast (matisseRearrangement.gif) shows that it grows below, when I try to make the space between label and textfield smaller.
> I use the layout "Free Design". It should be really free. I mean in general the designer is good, better than the IntelliJ one, because they don't have such free designer, they only have grids and boxes, maybe this is enough but not if you want to be pixel perfect.
> The other thing is, if you try to be pixel perfect, it can be a mess and the UI can look really shitty.
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists