The SelectionMorph itself uses the default border width. You can
change that by adding for example

borderWidth := 4

in the initialization method.

the thin border around the selected elements is created by the
a 4 times shifted drawing
(in drawOn:)

(0@0) fourNeighbors do: [:d | form1 displayOn: form2 at: d rule: Form
under].


2015-09-03 22:09 GMT+02:00 christofbuerger via Pharo-users <
pharo-users@lists.pharo.org>:

>
>
> ---------- Weitergeleitete Nachricht ----------
> From: christofbuerger <christof.buer...@googlemail.com>
> To: pharo-users@lists.pharo.org
> Cc:
> Date: Thu, 3 Sep 2015 12:55:20 -0700 (PDT)
> Subject: Where do selected morphs get their emphasizing frame from
> Hello,
> tried honestly the whole day to figure out
> how morphs in world get their thicker frame from, when they are selected by
> a SelectionMorph.
>
> I wanted to copy/inherit that behaviour and make the frame for such
> selected
> items thicker than it is done by standard.
>
> Can anyone please give me a hint?!
>
> Thank you very much and
> Best Regards
> Christof
>
>
>
> --
> View this message in context:
> http://forum.world.st/Where-do-selected-morphs-get-their-emphasizing-frame-from-tp4847936.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>
>

Reply via email to