• 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
Re: Subviews becoming blurry or "chopped up"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subviews becoming blurry or "chopped up"


  • Subject: Re: Subviews becoming blurry or "chopped up"
  • From: "John C. Randolph" <email@hidden>
  • Date: Thu, 11 May 2006 03:39:16 -0700


On May 11, 2006, at 1:59 AM, Rosyna wrote:

If I dynamically add a subview, sometimes the view will have the end caps of buttons "sliced".

http://www.unsanity.org/rosyna/imgs/slicedup.png

Notice how the endcaps of the buttons are blurry and offset from the main button content?

Is there anyway around this? What causes it?

This can happen if the size of the rect that you're passing in - initWithFrame: doesn't match the standard size of the button style in question. Try using NSIntegralRect() on the frame before you pass it to -initWithFrame:


-jcr

"This is not a book to be tossed aside lightly. Rather, it should be hurled with great force." -Dorothy Parker

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Subviews becoming blurry or "chopped up"
      • From: Rosyna <email@hidden>
References: 
 >Subviews becoming blurry or "chopped up" (From: Rosyna <email@hidden>)

  • Prev by Date: Re: Vertically-expanding NSTextField
  • Next by Date: Re: NSDistributedNotification from root process not posted
  • Previous by thread: Subviews becoming blurry or "chopped up"
  • Next by thread: Re: Subviews becoming blurry or "chopped up"
  • Index(es):
    • Date
    • Thread