Material icon indicating copy to clipboard operation
Material copied to clipboard

please make public leftViewThreshold / rightViewThreshold

Open hvbnet opened this issue 10 years ago • 2 comments

Hi

could you please make public leftViewThreshold / rightViewThreshold ? I need it for map viewer app! anyhow it more customizable.

public var rightViewThreshold: CGFloat = 0

thanks

hvbnet avatar Mar 13 '16 07:03 hvbnet

Yes, that is not a problem.

daniel-jonathan avatar Mar 13 '16 13:03 daniel-jonathan

This is now fixed in 1.37.0, which I am preparing for release. The properties are Optional, and called: leftThreshold and rightThreshold. Note, that in order for them to work correctly, the width of the panels would need to be greater than the threshold, otherwise, they will always close. All the best :)

daniel-jonathan avatar Mar 16 '16 07:03 daniel-jonathan