• 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 horizontal line in scroll view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strange horizontal line in scroll view


  • Subject: strange horizontal line in scroll view
  • From: Nick Rogers <email@hidden>
  • Date: Sun, 01 Aug 2010 16:58:30 +0530

Hi,
I have three matrices (all same sub class of NSMatrix, having prototype as a subclass of NSTextFieldCell), initially inited to have 1 row each and 1, 16 and 16 columns respectively. I'm trying to make a simple hex viewer using matrix instead of complex custom views for display.

Then I add rows (typically 256 or so) to all three matrices using addRow to accommodate the number of 16 byte rows in the to be displayed disk (iPod) sector.

The three matrices are to be added as subviews to a vertical split view (created in IB).
Then I send - sizeToCells and setScrollable:YES to the 3 matrices.
Then I send setFrameSize to split view keeping the width same, but increasing the height to accommodate the matrix height (matrix height + 4).
Then I add each matrix as sub view of the split view, the split view is a sub view of an scroll view (created in IB).

When I scroll down to a particular location in scroll view, I see this horizontal line (across all three matrices columns) with the upper area having a dark shade and lower area being brighter, both slowly fades.
This line repeats many times in 256 rows, spaced at constant interval.

Please take a look at the attached image.

Please suggest what I am doing wrong or need to do.

Wishes,
Nick

image/jpg

_______________________________________________

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

  • Follow-Ups:
    • Re: strange horizontal line in scroll view
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: loading French strings being in English language
  • Next by Date: Re: strange horizontal line in scroll view
  • Previous by thread: Re: loading French strings being in English language
  • Next by thread: Re: strange horizontal line in scroll view
  • Index(es):
    • Date
    • Thread