How to move items little by little?

80 views
Skip to first unread message

Yancey Wang

unread,
Jan 1, 2022, 4:49:58 PM1/1/22
to StarUML
Hi,

When I move something inside StarUML, no matter dragging by mouse or with CTRL+ arrow keys,  I can only move by a half grid.  

If I open the mdj file with a text editor, I can see every time one item moves (e.g. dragging by mouse), it moves a value of 8.  

And if I edit the mdj file directly with the text editor,  I can move the item with a much smaller step (with value 1). 

I know I can use the alignment feature to align two items, but I also hope I can align items manually by moving items little by little. Is there an easy way of doing this without editing the mdj file with a text editor? 

Thanks.

Yancey Wang

unread,
Jan 2, 2022, 11:53:38 PM1/2/22
to StarUML
What I meant by editing the mdj file with a text editor is like this:

uml.PNG
And open the file with starUML, we can see the object is moved to 2 pixels (which is not a multiple of 8) from the left:
uml2.PNG

Yancey Wang

unread,
Jan 2, 2022, 11:59:03 PM1/2/22
to StarUML
In the old opensource version of StarUML 5.0, it's documented that we can move objects little by little with "CTL+ATL+arrows":
http://staruml.sourceforge.net/docs/user-guide(en)/ch04.html

I have tried, it doesn't work in StarUML2 (the non-opensource version, v4.16). Do we have something similiar to  "CTL+ATL+arrows"   in StarUML2 v4.16?

StarUML

unread,
Jan 3, 2022, 1:00:32 AM1/3/22
to StarUML
Hello,

Unfortunately we don't have short-cut key for moving views in pixel-level. One way to move pixel-level, you can set grid size to 1px (Preferences -> General -> Diagram Editor).

We added this issue as feature requests in our main issue tracking system for allowing turn-on and off "Snap to Grid" and shortcut keys for pixel-level movement.

Thanks,
StarUML Team

2022년 1월 3일 월요일 오후 1시 59분 3초 UTC+9에 wang...@gmail.com님이 작성:

Yancey Wang

unread,
Jan 3, 2022, 1:41:05 AM1/3/22
to StarUML
Hi,

I have tried Preferences -> General -> Diagram Editor, it solves the main problem. 

> We added this issue as feature requests in our main issue tracking system for allowing turn-on and off "Snap to Grid" and shortcut keys for pixel-level movement.

Looking forward to the feature.

Thanks !

Yancey Wang

unread,
Jan 3, 2022, 1:51:40 AM1/3/22
to StarUML
>We added this issue as feature requests in our main issue tracking system for allowing turn-on and off "Snap to Grid" and shortcut keys for pixel-level movement.

By the way, it will be great if as long as we hold ALT down, the mouse dragging can also move items at pixel-level. That's the behavior of MS Visio. 

Thanks!
Reply all
Reply to author
Forward
0 new messages