mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 02:36:54 +02:00
Adjusted slider radius.
This does not fully fix the issue, but it does minimize it. Signed-off-by: armored-dragon <publicmail@armoreddragon.com>
This commit is contained in:
parent
d9f4762109
commit
cb17022c6c
2 changed files with 15 additions and 15 deletions
|
@ -79,21 +79,22 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
x: slider.leftPadding
|
x: slider.leftPadding;
|
||||||
y: slider.topPadding + slider.availableHeight / 2 - height / 2
|
y: slider.topPadding + slider.availableHeight / 2 - height / 2;
|
||||||
implicitWidth: 200
|
implicitWidth: 200;
|
||||||
implicitHeight: 20
|
implicitHeight: 20;
|
||||||
width: slider.availableWidth
|
width: slider.availableWidth;
|
||||||
height: implicitHeight
|
height: implicitHeight;
|
||||||
radius: 2
|
radius: 10;
|
||||||
color: "white"
|
color: "#ffffff";
|
||||||
clip: true;
|
clip: true;
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: slider.visualPosition * parent.width
|
width: slider.visualPosition * parent.width + 1;
|
||||||
height: parent.height
|
height: parent.height + 1;
|
||||||
color: "#5153bd"
|
color: "#5153bd";
|
||||||
radius: 2
|
radius: parent.radius;
|
||||||
|
antialiasing: false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
|
|
||||||
// TODO: Fullscreen display?
|
// TODO: Fullscreen display?
|
||||||
// TODO: Replace bool setting with switch?
|
// TODO: Replace bool setting with switch?
|
||||||
// TODO: Setting slider incorrect radius around filled background?
|
|
||||||
// FIXME: Combobox overflows text onto arrow visual
|
// FIXME: Combobox overflows text onto arrow visual
|
||||||
|
|
||||||
(() => {
|
(() => {
|
||||||
|
|
Loading…
Reference in a new issue