On 19 September 2010 13:12, Stéphane Ducasse <[email protected]> wrote: > hi guys > > I tried to add borderStyle to BorderedMorph and the progressbar showing the > progress blow up. > So we should really have a way to specify silent ui action. > Does anybody have an idea how I could do that? > > [BorderedMorph addInstVarNamed: 'borderStyle'] silent would be cool. >
use morph propertyAt: #borderStyle so you don't have to break your head with it :) BorderedMorph having an enormous number of subclasses, while some of them even don't using any kind of borders. That's makes me wonder if anything like color, border style etc should belong to root classes in hierarchy, like Morph or BorderedMorph. I think that dynamic set of properties (which is currently sits in morphic extensions are more appropriate storage for them). The only problem is that accessing them is much slower than ivars. > Stef > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
