I am not sure why. I guess this comes from Athens…
Alexandre
On Jun 8, 2015, at 3:58 PM, Peter Uhnák
<i.uhnak(a)gmail.com> wrote:
Also, why does RTEllipse has different units for the border? I.e. why is there division
by 30; if I did that with RTBox I would get quite different results.
Thanks,
Peter
On Mon, Jun 8, 2015 at 8:57 PM, Peter Uhnák <i.uhnak(a)gmail.com> wrote:
Interesting; the layout is ignoring the border --- there should be spacing everywhere.
It seems that the border is not accounted for in encompassingRectangle and/or
containsPoint: as RTDraggable also works only on the inner half of the border.
Peter
On Mon, Jun 8, 2015 at 5:19 PM, Natalia Tymchuk <natalia.tymchuk(a)unikernel.net>
wrote:
Thank you.
Best regards,
Natalia
On 08 Jun 2015, at 17:14, Alexandre Bergel
<alexandre.bergel(a)me.com> wrote:
Hi Natalia,
You can set the border as:
v := RTView new.
shape := RTEllipse new
size: 30;
color: Color white;
borderWidth: [ :vv | vv / 30 ];
borderColor: Color black.
v addAll: (shape elementsOn: (1 to: 10)).
RTGridLayout on: v elements.
v
You questioned whether ellipse are special. I would say that border are rarely required
for an ellipse, but for a box it is often necessary. This is just my feeling.
Cheers,
Alexandre
On Jun 8, 2015, at 8:03 AM, Natalia Tymchuk
<natalia.tymchuk(a)unikernel.net> wrote:
Hello,
I noticed that RTEllipse doesn’t have the border. Why it is like that?
Best regards,
Natalia
_______________________________________________
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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev