diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-30 19:58:05 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-30 19:58:05 +0800 |
commit | 34a047935a4221291a59ec3dfc63eceb012f284c (patch) | |
tree | 22a1c31e0f52bb5adbcd14170fb32ade126a0f26 | |
parent | 67f611b63cf80ebfb128bb3fb3d2bf17a90442de (diff) |
Not set source size on most icons
-rw-r--r-- | Header.ui.qml | 35 |
1 files changed, 4 insertions, 31 deletions
diff --git a/Header.ui.qml b/Header.ui.qml index 4fdeb7c..7e4cf25 100644 --- a/Header.ui.qml +++ b/Header.ui.qml @@ -109,7 +109,6 @@ ToolBar { Image { anchors.centerIn: parent source: "Bootstrap/icons/cart3.svg" - sourceSize.width: 18 fillMode: Image.PreserveAspectFit ColorOverlay { @@ -243,12 +242,6 @@ ToolBar { Image { source: menuItem.icon.source - sourceSize { - width: profileMenuItem - .icon.width - height: profileMenuItem - .icon.height - } ColorOverlay { color: highlighted @@ -326,45 +319,25 @@ ToolBar { Action { id: editProfile - icon { - source: - "Bootstrap/icons/person.svg" - width: 19 - height: 22 - } + icon.source: "Bootstrap/icons/person.svg" text: qsTr("Edit Profile") } Action { id: accountSettings - icon { - source: - "Bootstrap/icons/gear.svg" - width: 19 - height: 22 - } + icon.source: "Bootstrap/icons/gear.svg" text: qsTr("Account Settings") } Action { id: help - icon { - source: - "Bootstrap/icons/info-circle.svg" - width: 19 - height: 22 - } + icon.source: "Bootstrap/icons/info-circle.svg" text: qsTr("Help") } Action { id: log - icon { - source: - "Bootstrap/icons/power.svg" - width: 19 - height: 22 - } + icon.source: "Bootstrap/icons/power.svg" text: qsTr("Sign Out") } |