-
Notifications
You must be signed in to change notification settings - Fork 63
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
Fix slider #1619
Fix slider #1619
Conversation
- Value: presenter and widget were not syncing correctly - Horizontal slider didn't work except when min=0 and max=1. - Vertical slider was wrong (not it becomes an ignored presenter property) - Value was supporting (unexpectedly) parsing from string, with special adhoc support for fractions - Label didn't update when change after opened
- Rename SpSliderPresenterBackendTest -> SpSliderAdapterTest - Add tests (only 2 smoke tests before)
- This kind of visual property needs to be defined through styles. - It does not work (self does not understand #widget), so there are no users
Yes, thank you for the references @astares. I commented in both issues now. I can't close them, don't have permissions. |
@tinchodias Pharo13.0.0SNAPSHOT and it is not fixed there. But the code is not in yet. I think the merge in the Spec repo does not yet trigger an image build to include the Pharo13 branch again into standard image. We have to wait for a merge in the standard repo so that the image build is triggered. If you have the code loaded you can try with
and see if the slider on "Forms" dialog with the "Scale:" label behaves correctly. |
For the record: I just realized I didn't mention that @tesonep worked on these changes. We spotted together the issues in a pair-programming session, and performed the main fixes. Then I refactored and fixed some more, before creating the PR. |
color:
, which doesn't work and anyway it should by set via stylesSpSliderPresenterBackendTest
->SpSliderAdapterTest
Partially fixes #1613