[squeak-dev] TextFieldMorph weirdness

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] TextFieldMorph weirdness

Mark Volkmann
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







smime.p7s (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] TextFieldMorph weirdness

Gary Chambers-4
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" <[hidden email]>
To: "The general-purpose Squeak developers list"
<[hidden email]>
Sent: Tuesday, October 28, 2008 12:40 PM
Subject: [squeak-dev] TextFieldMorph weirdness


>
>


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] TextFieldMorph weirdness

Mark Volkmann
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" <[hidden email]>
> To: "The general-purpose Squeak developers list" <[hidden email]
> >
> 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







smime.p7s (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] TextFieldMorph weirdness

Gary Chambers-4
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" <[hidden email]>
To: "The general-purpose Squeak developers list"
<[hidden email]>
Sent: Tuesday, October 28, 2008 3:22 PM
Subject: Re: [squeak-dev] TextFieldMorph weirdness


>
>