TRSDialScrollView icon indicating copy to clipboard operation
TRSDialScrollView copied to clipboard

Changing MinorTickDistance through appearance selector is buggy

Open TomStoermer opened this issue 9 years ago • 2 comments

I try to explain the problem and my solution.

Problem: If you try to set a custom minor tick distance, your range of values will not display correctly.

In TRSDialView the default minor tick distance is 16. At the time you set the range, the TRSDialView calculate the frame for your range. If you set a custom minor tick distance with the appearance selector, the default value for minor tick distance (16) will be used in the method for calculating the frame for TRSDialView.

The Solution: Don't use the appearance selector for the minor tick distance, use normal setter methods. The range with your custom minor tick distance will display correctly.

TomStoermer avatar Aug 27 '14 17:08 TomStoermer

Which iOS SDK are you building against?

kevinkirkup avatar Aug 30 '14 04:08 kevinkirkup

Ios 7.0 and 7.1

Von meinem iPhone gesendet

Am 30.08.2014 um 06:07 schrieb Kevin Kirkup [email protected]:

Which iOS SDK are you building against?

— Reply to this email directly or view it on GitHub.

TomStoermer avatar Sep 01 '14 12:09 TomStoermer