How can one offset a matrix inside a scroll view?
How can one offset a matrix inside a scroll view?
- Subject: How can one offset a matrix inside a scroll view?
- From: Jason Alexander <email@hidden>
- Date: Mon, 21 Apr 2003 21:25:07 +0100
I'm writing a view which functions a little bit like the iPhoto
browser. I've got a matrix of image cells that lives inside a scroll
view. When the user moves a slider, it increases the size of all the
cells by calling setCellSize, and it increases (or decreases) the
intercell spacing by calling setIntercellSpacing. But in order to keep
each image cell centered in its column, I need to be able to offset the
entire matrix to the right (so that it's off of the leftmost border of
the scroll view's content area). Any suggestions on how to do this? I'm
stymied.
Thanks.
Jason
_______________________________________________
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.