Hi Jan!
First of all, how can I reproduce the bug?
The following code seems to work well. At least it does in a moose image.
-=-=-=-=-=-=-=-=-=-=-=-=
v := RTView new.
v addAll: ((RTEllipse new size: 20; color: (Color red alpha: 0.3)) elementsOn: (1 to:
20)).
shape := RTMultiLine new.
shape orthoVertical.
shape color: (Color blue alpha: 0.3).
RTEdge
buildEdgesFromObjects: (1 to: 20) from: [ :n | n // 3 ] to: #yourself using: shape
inView: v.
v elements @ RTDraggable @ RTPopup.
RTTreeLayout on: v elements.
^ v
-=-=-=-=-=-=-=-=-=-=-=-=
Cheers,
Alexandre
On Nov 15, 2014, at 9:34 AM, Jan B.
<bliznjan(a)fit.cvut.cz> wrote:
Hi, orthogonal modes of multiline do not seem to work right. Pretty hard to
describe, better to do it with picture:
https://monosnap.com/image/HyU0C2XV47uZqnLMHvP0qdEnDqjzu7.png
I have a possible fix:
http://www.mediafire.com/view/212hadou3uv9uiz/RTMultiLineFix.st
or the same fix with added ability to set balance of middle points, ie.
ratio between fromPoint and toPoint:
http://www.mediafire.com/view/uzzue7f219x25bb/RTMultiLineFixWithBalance.st
... possible uses: unknown, may just add code and cpu cycles for nothing
Jan
--
View this message in context:
http://forum.world.st/Roassal2-Orthogonal-multiline-bug-tp4790382.html
Sent from the Moose mailing list archive at
Nabble.com.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.