Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin text gets cut off when the text is 0-9 #22

Open
byteofsilicon opened this issue Nov 12, 2015 · 3 comments
Open

Pin text gets cut off when the text is 0-9 #22

byteofsilicon opened this issue Nov 12, 2015 · 3 comments

Comments

@byteofsilicon
Copy link

The pin text gets cut off at the top when the text is any character between 0 - 9. It seems to work with characters of 2 digits due to the calibrateTextSize method.

https://github.com/oli107/material-range-bar/blob/master/rangebar/src/com/appyvet/rangebar/PinView.java#L290

oversized text

@oli107
Copy link
Owner

oli107 commented Nov 12, 2015

You can control by setting the pinMaxFont but I'd welcome a PR to control
the maximum size of the font based on the pin size
On 12 Nov 2015 00:12, "rstel" notifications@github.com wrote:

The pin text gets cut off at the top when the text is any character
between 0 - 9. It seems to work with characters of 2 digits due to the
calibrateTextSize method.

https://github.com/oli107/material-range-bar/blob/master/rangebar/src/com/appyvet/rangebar/PinView.java#L290

[image: oversized text]
https://cloud.githubusercontent.com/assets/8334022/11107046/0878376c-88a8-11e5-8218-0f1dfc32789f.JPG


Reply to this email directly or view it on GitHub
#22.

## *Email confidentiality notice *##

This message is private and confidential. If you have received this
message in error, please notify us and remove it from your
system. Blythwood Vets & The Well Animal Clinic may monitor email traffic
data and also the content of email for the purposes of security.

Blythwood Vets is the name under which the surgeries at Bushey, Northwood,
Stanmore & Hatch End trade but the surgeries are owned by Blythwood
Veterinary Ltd, a Limited Liability Company registered in England with
Company No. 07153623, registered office 500 Uxbridge Road, Pinner, Middx,
HA5 4SL or; in the case of the Bushey surgery, Blythwood Veterinary
(Bushey) LLP, a Limited Liability Partnership registered in England with
No. oc368295, registered office 2 High Street, Bushey, Herts WD23 3DN.

Well Animal Clinic is the trading name of Well Animal Clinic LLP, a
Limited Liability Partnership registered in England with No. oc317137,
registered office 292 West End Lane, London NW6 1LN.

A list of members each LLP is open to inspection at their respective
registered offices.

BLYTHWOOD VETS& THE WELL ANIMAL CLINIC

“A COMPLETE CARING SERVICE FOR YOUR PET”

_Visit us at: _www.blythwood.com http://www.blythwood.com/\* & *www.wellanimalclinic.com
http://www.wellanimalclinic.com/

@byteofsilicon
Copy link
Author

Oh okay. I can go ahead an see what it would take to implement something like that. If I get something working ill submit a pull request.

@kjromero
Copy link

kjromero commented Jul 2, 2020

@byteofsilicon how do you set a custom interval to RangeBar ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants