I have a TextFieldMorph that displays with the default content of 'abc'. If I click in the field and type, what I enter is displayed. However, if I delete all the text from the field and then type, nothing is displayed. What's going on?
--- Mark Volkmann
For some reason the text starts on the second row... (expand the height to see). Most odd, I admit!
Regards, Gary.
----- Original Message ----- From: "Mark Volkmann" mark@ociweb.com To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org Sent: Tuesday, October 28, 2008 12:40 PM Subject: [squeak-dev] TextFieldMorph weirdness
Can I tell the TextFieldMorph that I only want one row?
On Oct 28, 2008, at 10:16 AM, Gary Chambers wrote:
For some reason the text starts on the second row... (expand the height to see). Most odd, I admit!
Regards, Gary.
----- Original Message ----- From: "Mark Volkmann" mark@ociweb.com To: "The general-purpose Squeak developers list" <squeak-dev@lists.squeakfoundation.org
Sent: Tuesday, October 28, 2008 12:40 PM Subject: [squeak-dev] TextFieldMorph weirdness
I have a TextFieldMorph that displays with the default content of 'abc'. If I click in the field and type, what I enter is displayed. However, if I delete all the text from the field and then type, nothing is displayed. What's going on?
--- Mark Volkmann
Resetting its extent seems to work... not ideal though. I guess it would be ok if contained within a morph that does layout though.
With Polymorph you would be better off with a PluggableTextFieldMorph.
Regards, Gary.
----- Original Message ----- From: "Mark Volkmann" mark@ociweb.com To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org Sent: Tuesday, October 28, 2008 3:22 PM Subject: Re: [squeak-dev] TextFieldMorph weirdness
squeak-dev@lists.squeakfoundation.org