On Fri, Sep 02, 2016 at 06:40:01AM -0700, Sean P. DeNigris wrote:
<frustrated />
Peter Uhnak wrote
TextInputFieldModel will most likely require #whenBuiltDo: and Morphic hacking.
That is unfortunate. As a subclass, and conceptually in the model, it should do everything that TextModel does - and more!
Unfortunately it's a subclass, not a subtype. In other words it's implementation reuse. There are many (also conceptual) differences between the two.
Since LabelModel and TextInputFieldModel have failed, it looks like the best I can do currently with Spec is to use TextModel, whose scroll bar is inappropriate in this context. Any way to hide it?
You can also talk directly to the morph... whenBuiltDo: [:adapter | adapter widget something something ]
----- Cheers, Sean -- View this message in context: http://forum.world.st/Spec-Text-Emphasis-tp4913688p4913802.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.