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

"wheel_item_space" have no affect #125

Open
verybluebot opened this issue Nov 1, 2017 · 4 comments
Open

"wheel_item_space" have no affect #125

verybluebot opened this issue Nov 1, 2017 · 4 comments

Comments

@verybluebot
Copy link

"wheel_item_space" have no effect. void setItemSpace(int space); method have effect either

xml:

        <com.aigestudio.wheelpicker.WheelPicker
            android:id="@+id/wheelPicker"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            app:wheel_item_space="20dp"/>

Java:

        WheelPicker wheelPicker = (WheelPicker) findViewById(R.id.wheelPicker);
        wheelPicker.setItemSpace(20);
        wheelPicker.setAtmospheric(true);
        wheelPicker.setData(testList);

help

@verybluebot
Copy link
Author

verybluebot commented Nov 11, 2017 via email

@plrdev
Copy link

plrdev commented Nov 13, 2017

ItemSpace doesn't seem to work for me either.

@barbaragomes
Copy link

@verybluebot Sorry, I deleted my response because after further analise I still have the same issue where ItemSpace makes no difference for me either.

I get the height I want by playing around with both methods:

setVisibleItemCount() setItemSpace()

Sorry again for that

@verybluebot
Copy link
Author

verybluebot commented Nov 13, 2017 via email

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