• 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
NSTextView border shift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView border shift


  • Subject: NSTextView border shift
  • From: "Guy Umbright" <email@hidden>
  • Date: Thu, 22 Aug 2002 15:12:20 -0500
  • Thread-topic: NSTextView border shift

I have an NSTextView in a dialog I want in one context to be editable, and in
another, simply display (no border or background, non-selectable).

I can easily switch between the states programatically, the problem is that
the drawing of the displayed text is shifted up to the left when the view is
setup for display and gets out of line with its label. This is apparently
because removing the border affects the field size.

Is there a way to prevent this?


This electronic mail message and any attached files contain information
intended for the exclusive use of the individual or entity to whom it is
addressed and may contain information that is proprietary, privileged,
confidential and/or exempt from disclosure under applicable law. If you are
not the intended recipient, you are hereby notified that any viewing, copying,
disclosure or distribution of this information may be subject to legal
restriction or sanction. Please notify the sender, by electronic mail or
telephone, of any unintended recipients and delete the original message
without making any copies.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: NEWBIE: Refresh Rate, how to find?
  • Next by Date: Re: Drawing grid in a TableView impossible ?
  • Previous by thread: Re: Icon classes?
  • Next by thread: Re: NSTextView border shift
  • Index(es):
    • Date
    • Thread