Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 21, 2010, 03:27 PM   #1
Chirone
macrumors 6502
 
Join Date: Mar 2009
Location: NZ
centering a view in a scrollview

Does anyone know if it's possible to change where the content view of a scroll view is drawn?

i have a scroll view and when the content view is not as big as the scroll view i want it to be in the center.

i've tried modifying the origin of the content view with no luck. it remains in the corner.
Chirone is offline   0 Reply With Quote
Old Nov 21, 2010, 04:03 PM   #2
Sydde
macrumors 68000
 
Sydde's Avatar
 
Join Date: Aug 2009
See what you can do with its clip view.
__________________
You got to be a spirit. You can't be no ghost.
Sydde is offline   0 Reply With Quote
Old Nov 21, 2010, 04:08 PM   #3
Chirone
Thread Starter
macrumors 6502
 
Join Date: Mar 2009
Location: NZ
yeah i tried changing the origin of the clip view with no luck...
Chirone is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
centering a view in another with animation JGoose iPhone/iPad Programming 5 Apr 19, 2010 03:16 PM
Scroll View not working in the bottom view of Split View in Cocoa binDev Mac Programming 1 Apr 15, 2010 02:42 PM
is it possible to always center my image in the screen if I add to the view and use ulquiorra iPhone/iPad Programming 8 Sep 9, 2009 11:14 AM
How to controll the webview in the scrollview with the scrollview’s controller? xiaohuli170 Mac Programming 5 Jul 8, 2009 08:29 AM
centering an image in the scrollview cmezak iPhone/iPad Programming 1 Aug 15, 2008 01:11 PM


All times are GMT -5. The time now is 09:57 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC