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

Similar Threads
thread Thread Starter Forum Replies Last Post
Scrolling textview + scrollview problem solinari6 iPhone/iPad Programming 4 Mar 27, 2014 02:17 PM
Is Anyone Skilled at Centering Screen Protectors? mackandproud iPhone Accessories 23 Mar 29, 2013 03:26 AM
iPhone: Need help manually centering lockscreen slider. 561427 Jailbreaks and iOS Hacks 0 Feb 6, 2013 07:14 PM
Need Help Centering UL CSS menu screensaver400 Web Design and Development 2 Dec 27, 2012 07:28 PM
scrollview scrolling when it shouldn't straber iPhone/iPad Programming 3 Sep 18, 2012 12:37 AM

Forum Jump

All times are GMT -5. The time now is 02:45 AM.

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

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