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

<<inline: screen_shot_line.jpg>>

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to