Summary: | Provide a property to control the invisible click/scroll area around the slider | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-qqc2-desktop-style | Reporter: | Nate Graham <nate> |
Component: | general | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kde |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=410671 | ||
Latest Commit: | https://invent.kde.org/frameworks/qqc2-desktop-style/commit/9e4d34b2d4850448b0ff2ac391c5f11b446913a4 | Version Fixed In: | 5.86 |
Description
Nate Graham
2019-08-06 21:17:04 UTC
Nope; we don't add theme-specific API to QQC2 stuff. Git commit 9e4d34b2d4850448b0ff2ac391c5f11b446913a4 by Nate Graham. Committed on 13/08/2021 at 20:41. Pushed by ngraham into branch 'master'. Vertically center slider Normally this happens automatically, but if you manually override the height of a slider, then the bar and handle become top-aligned within the larger-than-normal bounding box rather than being vertically centered. Why would you want to override the height of a slider? To provide a larger-than-normal click/drag/scroll areas for use cases that benefit from this, such as the playback slider of a music player app. This commit makes the control alwayes be vertically entered within its bounding box when the height of that box is manually overridden. FIXED-IN: 5.86 M +4 -1 org.kde.desktop/Slider.qml https://invent.kde.org/frameworks/qqc2-desktop-style/commit/9e4d34b2d4850448b0ff2ac391c5f11b446913a4 |