Fix: Icon transparency.
This commit is contained in:
parent
0b964755cc
commit
4a38840903
@ -69,16 +69,21 @@ Column {
|
|||||||
|
|
||||||
indicator: Button {
|
indicator: Button {
|
||||||
id: usernameIcon
|
id: usernameIcon
|
||||||
width: selectUser.height * 0.8
|
width: selectUser.height * 1
|
||||||
height: parent.height
|
height: parent.height
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.leftMargin: selectUser.height * 0.125
|
anchors.leftMargin: selectUser.height * 0
|
||||||
icon.height: parent.height * 0.25
|
icon.height: parent.height * 0.25
|
||||||
icon.width: parent.height * 0.25
|
icon.width: parent.height * 0.25
|
||||||
enabled: false
|
enabled: false
|
||||||
icon.color: root.palette.text
|
icon.color: root.palette.text
|
||||||
icon.source: Qt.resolvedUrl("../Assets/User.svg")
|
icon.source: Qt.resolvedUrl("../Assets/User.svg")
|
||||||
|
|
||||||
|
background: Rectangle {
|
||||||
|
color: "transparent"
|
||||||
|
border.color: "transparent"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
@ -557,4 +562,4 @@ Column {
|
|||||||
onTriggered: failed = false
|
onTriggered: failed = false
|
||||||
running: false
|
running: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -9,8 +9,10 @@ Screen resolution: 1080p.
|
|||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
qt5-graphicaleffects qt5-quickcontrols2 qt5-svg sddm
|
qt6-5compat qt6-declarative qt6-svg sddm
|
||||||
```
|
```
|
||||||
|
> qt6-declarative replaces qt6-quickcontrols2
|
||||||
|
> https://archlinux.org/packages/extra/x86_64/qt6-declarative/
|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user