mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-21 19:35:49 +08:00
fix(Toolbox.qml): replace Image with IconImage
This commit is contained in:
+4
-3
@@ -392,15 +392,16 @@ Item {
|
||||
anchors.margins: 12
|
||||
spacing: 12
|
||||
|
||||
Image {
|
||||
IconImage {
|
||||
id: icon
|
||||
source: tile.iconSource
|
||||
|
||||
Layout.preferredHeight: 34
|
||||
Layout.preferredWidth: 34
|
||||
|
||||
// FIXME:theming
|
||||
// color: "black"
|
||||
// FIXME: hardcoded accent color
|
||||
color: "#0078d7"
|
||||
|
||||
opacity: tile.enabled ? 1.0 : 0.7
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user