Merge lp:~nik90/ubuntu-ui-toolkit/fix-slider-bubble-width into lp:ubuntu-ui-toolkit/staging
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Tim Peeters on 2015-03-23 | ||||
| Approved revision: | 1457 | ||||
| Merged at revision: | 1455 | ||||
| Proposed branch: | lp:~nik90/ubuntu-ui-toolkit/fix-slider-bubble-width | ||||
| Merge into: | lp:ubuntu-ui-toolkit/staging | ||||
| Diff against target: |
50 lines (+29/-1) 2 files modified
examples/ubuntu-ui-toolkit-gallery/Sliders.qml (+25/-0) modules/Ubuntu/Components/Themes/Ambiance/SliderStyle.qml (+4/-1) |
||||
| To merge this branch: | bzr merge lp:~nik90/ubuntu-ui-toolkit/fix-slider-bubble-width | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-03-23 | |
| Tim Peeters | 2015-03-20 | Approve on 2015-03-23 | |
|
Review via email:
|
|||
Commit Message
Fixes the slider bubble width to be dynamic and dependent on the label width.
Description of the Change
This MP fixes the slider bubble width to be dynamic and dependent on the label width instead of being static. This would allow the slider bubble to show values like "medium", "slow" etc without it exceeding the bubble width as shown in https:/
- 1456. By Nekhelesh Ramananthan on 2015-03-20
-
Added two properties
| Roman Shchekin (mrqtros) wrote : | # |
I think that you should do them private via "__" (double underscore) or internal QtObject. Or you internationally want to show these two new properties to user?
| Nekhelesh Ramananthan (nik90) wrote : | # |
That was my initial thought, but on looking at the other properties in SliderStyle.qml and also at ButtonStyle.qml for reference, they all were not private.
| Tim Peeters (tpeeters) wrote : | # |
bubbleShape is an internal Item for the style, so the added properties are not public. I think it is good like this.
Perhaps you can add a little example of a slider with a larger bubble width in examples/
- 1457. By Nekhelesh Ramananthan on 2015-03-20
-
Added a example of a slider with bubble showing lables
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1457
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Tim Peeters (tpeeters) wrote : | # |
It works well, thanks.
Approving. I will happrove it when we finish our final landings from staging to vivid.

FAILED: Continuous integration, rev:1456 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/1576/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 1884/console jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-amd64- ci/303 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-armhf- ci/306 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-armhf- ci/306/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-i386- ci/303 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-mako/ 1662/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1882 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1882/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 19019
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/1576/ rebuild
http://