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

ReadOnly property does not work #3

Open
igor11191708 opened this issue Oct 9, 2019 · 3 comments
Open

ReadOnly property does not work #3

igor11191708 opened this issue Oct 9, 2019 · 3 comments

Comments

@igor11191708
Copy link
Contributor

ReadOnly property does not work

@dlemmermann
Copy link
Collaborator

Of which control? What is the expected result vs. the actual result?

@igor11191708
Copy link
Contributor Author

IntegerPicker integerPicker = new IntegerPicker();
integerPicker.setReadOnly(true); <- does not work

It`s declared as public property for any pickers at class Picker
It seems like you just forgot to bind it to class Segment<T, S>.

this.readOnlyProperty().bind(picker.readOnlyProperty());

@dlemmermann
Copy link
Collaborator

Looks right, please submit a PR.

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

2 participants