GNOME Bugzilla – Bug 749650
Slider tick marks affect vertical positioning
Last modified: 2015-12-05 14:27:23 UTC
Created attachment 303690 [details] widget factory screenshot When there are stop points on a slider, a tick mark is shown below. These make the widget taller, which can in turn affect the positioning of the slider trough. This can be an issue in some cases, as it means that the slider isn't vertically centered. Bug 746132 is one example. We discussed this on #gnome-design the other day, and it was agreed that the tick marks could be repositioned so that they don't affect the height of the widget. I'm attaching an image of the favoured solution, when we discussed it.
uhmph, with the proposed solution we run into problems with fine tune mode :-/ To avoid issues it would be nice to be able to set the position, the height and the color of the marks from the css somehow.
Conditionally I mean, so it can be changed say for fine tune mode.
When you've triggered the fine tune, you probably aren't interested in snapping...
Not being interested in snapping doesn't make the marks not clash with the bigger trough :-)
Makes sense to disable the stops and hide the tick marks when fine tune mode is active.
Consider that that's a composite widget so we have no transitions, I'd prefer to be able to tweak them, then making them abruptly disappear.
I'm guessing this has been closed by accident as the widget isn't vertically centered in gtk+ master...
I've pushed another tweak. With this change, the remaining difference in the drawing is down to asymmetric assets and margins coming out of the theme. To fully support such asymmetric rendering, we need implement baseline alignment for scales.
I think with latest gtk+ changes we can close this one, feel free to reopen in case I'm wrong.