• 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
How can one offset a matrix inside a scroll view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: How to get my own icon when saving files?
  • Next by Date: Not able to select a single cell in NSTableView control
  • Previous by thread: Re: How to get my own icon when saving files?
  • Next by thread: Not able to select a single cell in NSTableView control
  • Index(es):
    • Date
    • Thread