Fix: Icon transparency.

This commit is contained in:
Keyitdev 2024-04-04 11:05:56 +02:00
parent 0b964755cc
commit 4a38840903
No known key found for this signature in database
GPG Key ID: B1EB177BC594D8B0
2 changed files with 11 additions and 4 deletions

View File

@ -69,16 +69,21 @@ Column {
indicator: Button {
id: usernameIcon
width: selectUser.height * 0.8
width: selectUser.height * 1
height: parent.height
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: selectUser.height * 0.125
anchors.leftMargin: selectUser.height * 0
icon.height: parent.height * 0.25
icon.width: parent.height * 0.25
enabled: false
icon.color: root.palette.text
icon.source: Qt.resolvedUrl("../Assets/User.svg")
background: Rectangle {
color: "transparent"
border.color: "transparent"
}
}
background: Rectangle {

View File

@ -9,8 +9,10 @@ Screen resolution: 1080p.
### Dependencies
```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