Re: [Pharo-users] Where do selected morphs get their emphasizing frame from

2015-09-04 Thread christofbuerger via Pharo-users
--- Begin Message --- Thank you very much!! :-) -- View this message in context: http://forum.world.st/Where-do-selected-morphs-get-their-emphasizing-frame-from-tp4847937p4848113.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. --- End Message ---

Re: [Pharo-users] Where do selected morphs get their emphasizing frame from

2015-09-03 Thread Nicolai Hess
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:

[Pharo-users] Where do selected morphs get their emphasizing frame from

2015-09-03 Thread christofbuerger via Pharo-users
--- Begin Message --- 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 anyon