• 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
Strange outline view display behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange outline view display behavior


  • Subject: Strange outline view display behavior
  • From: Eric Freeman <email@hidden>
  • Date: Thu, 14 Aug 2003 09:08:57 -0700

I've got a NSOutline view just below a small custom view that just displays a gradient (take a look at the iTunes playlist and the header above it, I'm basically replicating that). These two views themselves are inside another custom view that just displays bevels around the outside of its bounds. The Outline view has the column header turned off as well as its method of focus display set to none. When the view is redrawn I'm seeing a whitish one pixel horizontal line drawn through the button of my gradient view, almost like a highlight on the outline view that is outside its bounds. If I place an equivalent gradient view below the outline view I see the same behavior below. The outline view and gradient view do not overlap, but are separated by one pixel. If I attempt to resize the entire window this highlight disappears. In addition, if I occlude the gradient/outline view with another window and then bring it to the front the highlight returns.

Any ideas what is going on here? I would have thought setting the focus in none in IB would have taken care of any highlights.

Also, if there is a better way to achieve the look of the iTunes gradient header over an outline view (subclassing outline view?) I'd love to hear suggestions as well

Thanks,

Eric
_______________________________________________
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.

  • Follow-Ups:
    • Re: Strange outline view display behavior
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: Re[2]: Control Over IB 'Visible At Launch Time' Flag
  • Next by Date: Re: Strange outline view display behavior
  • Previous by thread: Re: Coding question
  • Next by thread: Re: Strange outline view display behavior
  • Index(es):
    • Date
    • Thread