Re: [Pharo-users] List with Border

2016-04-16 Thread peaslee
> PluggableListMorph>borderStyleToUse > "Answer the borderStyle that should be used for the receiver." > > ^self enabled > ifTrue: [self theme listNormalBorderStyleFor: self] > ifFalse: [self theme listDisabledBorderStyleFor: self] > > If you then look at the different impl

Re: [Pharo-users] List with Border

2016-04-15 Thread stepharo
I wish we could remove this self widget ifNotNil: but this is more complex than I would like. stef Le 14/4/16 21:10, Stephan Eggermont a écrit : On 14-04-16 16:53, peaslee wrote: I do not understand your answer. I am too new at this. ListModel is a subclass of AbstractWidgetModel. Abstra

Re: [Pharo-users] List with Border

2016-04-14 Thread Stephan Eggermont
On 14-04-16 16:53, peaslee wrote: I do not understand your answer. I am too new at this. ListModel is a subclass of AbstractWidgetModel. AbstractWidgetModel defines borderWidth: and borderColor:, so one would expect all its subclasses to implement it. The mapping in Spec from the model to the

Re: [Pharo-users] List with Border

2016-04-14 Thread peaslee
Stephen, I do not understand your answer. I am too new at this. -- View this message in context: http://forum.world.st/List-with-Border-tp4889556p4890053.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] List with Border

2016-04-12 Thread Stephan Eggermont
On 12/04/16 21:58, Rob Rothwell wrote: Would you consider this a Priority 4 "Would be nice" like Issue 17743 and 17754? (I have been looking for things at my skill level I might actually be able to track down). All pluggable morphs behave badly with this. They all are themed ignoring manual ove

Re: [Pharo-users] List with Border

2016-04-12 Thread Rob Rothwell
On Tue, Apr 12, 2016 at 3:00 PM, Stephan Eggermont wrote: > > Not ideal, and should be fixed. > > Would you consider this a Priority 4 "Would be nice" like Issue 17743 and 17754? (I have been looking for things at my skill level I might actually be able to track down). Rob

Re: [Pharo-users] List with Border

2016-04-12 Thread Stephan Eggermont
On 12-04-16 18:09, Bruce Peaslee wrote: This code creates the list and fills it, but it does not show a border. Hi Bruce. Indeed, if you look at MorphicListAdapter>buildWidget you'll notice that it uses a PluggableListMorph that ignores border styling and just asks the theme for UITheme>listNo

[Pharo-users] List with Border

2016-04-12 Thread Bruce Peaslee
Hi, This code creates the list and fills it, but it does not show a border. initializeWidgets transactionList := ListModel new. transactionList items: #('one' 'two' 'three'). transactionLi