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.
Since most edges originate from the center of a node it would be really helpful to have the align with move to also suggest a center alignment.
Created attachment 103592 [details] Patch for visaul library AlignWith Support adding snap to center This is a proposed patch to the org.netbeans.api.modules.visual.action.AlignWithSupport class, adding the ability to snap when two widgets are centrally aligned (either vertically or horizontally), see my NetBeans Visual Database Designer plugin for demonstration of result.
Richard, you probably attached wrong file. At least I can only open the attachment as PDF file with some workflow analysis. Can you please clarify what you meant by that? Thanks!
Created attachment 103656 [details] proper diff file Replaces the previous patch file (which was completely wrong file, my mistake). Should provide vertical and horizontal snapping to middle.
Thanks Richard! Tondo, can you please review this patch for org.netbeans.api.modules.visual.action.AlignWithSupport class yourself or reassign it to someone? Thanks!
Jardo, have a look at this one. Thanks.
Created attachment 114552 [details] Edited patch Thank you very much for your idea and your patch. I have edited the patch slightly. The guide is now shown in the middle of the widgets - I think it is more intuitive. What do you think?
core-main/rev/78cecac25235 Patch applied. Thank you, Richard.
TM = 7.2
This is a community contribution. Marking with NETFIX keyword.