Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

When I change the stroke width, it also adds more padding. #31

Closed
gomera opened this issue Sep 24, 2014 · 1 comment
Closed

When I change the stroke width, it also adds more padding. #31

gomera opened this issue Sep 24, 2014 · 1 comment
Labels

Comments

@gomera
Copy link

gomera commented Sep 24, 2014

If I have a box of 100x100, when using a stroke width of 1dp, the circule will fill the whole box. If I increase the stroke, the circule gets smaller and smaller adding a padding.

1dp
circule stroke 1dp

10dp
circule stroke 10dp

20dp
circule stroke 20dp

@passsy
Copy link
Owner

passsy commented Sep 26, 2014

It's because of the app:thumb_visible="false"

screen shot 2014-09-26 at 16 02 20

I've forgot to exclude the thumb thickness if it's disabled in #onMeasure

fixed in development branch (5ded49e)

screen shot 2014-09-26 at 16 45 10

@passsy passsy closed this as completed Sep 26, 2014
@passsy passsy added the bug label Sep 26, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants