Editing Fields-Automatic resize

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
laurpapo
Posts: 38
Joined: Thu Jun 21, 2012 4:25 pm

Editing Fields-Automatic resize

Post by laurpapo » Wed Jul 18, 2012 5:05 pm

Hi,

So in my program users can edit the text of a field, and we have it set up so that the field automatically resizes according to the text that is typed into it. The problem is that, often, when the spacebar is hit, it just jumps down to the next line. We want it to be able to put multiple words on each line.

Any idea how to fix this?

Thanks,

Laurel

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Editing Fields-Automatic resize

Post by Klaus » Wed Jul 18, 2012 5:54 pm

Hi Laurel,

did you check "Don't wrap" for that field?


Best

Klaus

laurpapo
Posts: 38
Joined: Thu Jun 21, 2012 4:25 pm

Re: Editing Fields-Automatic resize

Post by laurpapo » Wed Jul 18, 2012 6:05 pm

Well that is a very handy thing that I did not know about...thanks! It presents another problem, though. We want there to be a character limit (so once we get to a formattedwidth of 100, have it go onto the next line). With this property it seems we can't do that. Is there a way to use both of these?

laurpapo
Posts: 38
Joined: Thu Jun 21, 2012 4:25 pm

Re: Editing Fields-Automatic resize

Post by laurpapo » Wed Jul 18, 2012 6:07 pm

Ah, nevermind. I think I figured it out. Thanks so much :)

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Editing Fields-Automatic resize

Post by Klaus » Wed Jul 18, 2012 6:30 pm

:D

Post Reply