UI7Kit icon indicating copy to clipboard operation
UI7Kit copied to clipboard

UIStepper looking strange when transformed

Open gabrielribeiro opened this issue 12 years ago • 4 comments

I've transformed a UIStepper (because I can't set height) using

self.stepper.transform = CGAffineTransformMakeScale(1, 0.78);

But it looks very strange in iOS6, as you can see in the image. ios simulator screen shot 23 07 2013 12 22 14

gabrielribeiro avatar Jul 23 '13 15:07 gabrielribeiro

Thank you. For quick fix, Try this temporary workaround:

[[stepper layer] setBorderColor:[UIColor clearColor].CGColor];

youknowone avatar Jul 24 '13 00:07 youknowone

Thanks. Worked.

gabrielribeiro avatar Jul 24 '13 04:07 gabrielribeiro

In iOS5, border follows transforms. In iOS6, not. hmm.....

youknowone avatar Jul 30 '13 13:07 youknowone

Uh :(

gabrielribeiro avatar Aug 04 '13 07:08 gabrielribeiro