• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Possible to have a UITextView one line high? Having trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible to have a UITextView one line high? Having trouble


  • Subject: Possible to have a UITextView one line high? Having trouble
  • From: Steve Fogel <email@hidden>
  • Date: Tue, 30 Jun 2009 02:00:24 -0700

Hi, all...

I'm trying to use a text view instead of a text field to allow my user to enter a phone number. Reason: I want to format the phone number as the user types, just like the Contacts app, and I want to be able to position the cursor as the user edits. Can't position the cursor with a text field.

But if I try to make the text view only 1 line high in Interface Builder (approx the same height as a text field), the text appears almost completely outside the text view, above it, and you only see the bottom-most pixel or two of the characters. I have to make the text view about 3 lines high before the text appears completely inside the text view. Uhh.

Is it not possible to have a text view that is 1 line high?

Thx

Steve
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: NSBitMapRepresentation --> JPEG compression?
  • Next by Date: Re[6]: NSApp problem outside of bundle
  • Previous by thread: Input for CIFilter
  • Next by thread: multitouch trackpad on macbook pro
  • Index(es):
    • Date
    • Thread