PDA

View Full Version : UISlider Frame Bug?




Darkroom
Jun 30, 2009, 01:55 AM
reading the origin of a UISlider's frame returns strange results. in two tests, both returned the proper Y value, as set in IB, but the X value seems to always be short by 2.

attached is a simple project with a UISlider on the window. the UISlider is set as X:50, Y:50 in IB. upon launching the app, NSLog returns:


Slider Origin = 48.0, 50.0