The call lines do: .... happens after the line shapes are already constructed (with the default color).
This should work:
col:= 1 to: 10. v := RTView new. el:= RTBox elementsOn: col. v add: el. RTGridLayout on: el. lines:=RTEdge buildEdgesFromObjects: col from: #yourself to: [ :num | num * 2 ] using:(RTLine color:Color red) inView: v .
2015-04-21 21:44 GMT+02:00 Natalia Tymchuk natalia.tymchuk@unikernel.net:
Hello, using #buildEdgesFromObjects:, I want to get red edges
http://ws.stfx.eu/DVAZQNX7QQOK
but, I'm getting the edges with grey color. If it’s bug, can someone fix it please; if not - what am I doing wrong?
Kind regards, Natalia
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev