From 76d2b079e4f3f3b0a1a6d6505ced056cdc42f60a Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Mon, 16 Sep 2019 23:35:57 +0700 Subject: fix pixelated icon and add transparency --- pages/CreateProfileForm.ui.qml | 10 +++++++++- pages/PasswordForm.ui.qml | 6 ++++++ 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'pages') diff --git a/pages/CreateProfileForm.ui.qml b/pages/CreateProfileForm.ui.qml index f4f7cb6..2b1ce91 100644 --- a/pages/CreateProfileForm.ui.qml +++ b/pages/CreateProfileForm.ui.qml @@ -74,6 +74,9 @@ Rectangle { Image { width: 24 height: 24 + opacity: 0.54 + sourceSize.height: 24 + sourceSize.width: 24 Layout.leftMargin: 16 Layout.alignment: Qt.AlignVCenter fillMode: Image.PreserveAspectFit @@ -103,6 +106,9 @@ Rectangle { Image { width: 24 height: 24 + opacity: 0.54 + sourceSize.height: 24 + sourceSize.width: 24 Layout.leftMargin: 16 Layout.alignment: Qt.AlignVCenter fillMode: Image.PreserveAspectFit @@ -133,6 +139,9 @@ Rectangle { Image { width: 24 height: 24 + opacity: 0.54 + sourceSize.height: 24 + sourceSize.width: 24 Layout.leftMargin: 16 Layout.alignment: Qt.AlignVCenter fillMode: Image.PreserveAspectFit @@ -171,7 +180,6 @@ Rectangle { Rectangle { id: profilePicture - x: 220 width: 80 height: 80 color: "#f0e6fc" diff --git a/pages/PasswordForm.ui.qml b/pages/PasswordForm.ui.qml index f5d01a6..d4849fd 100644 --- a/pages/PasswordForm.ui.qml +++ b/pages/PasswordForm.ui.qml @@ -76,6 +76,9 @@ Rectangle { Image { width: 24 height: 24 + opacity: 0.54 + sourceSize.height: 24 + sourceSize.width: 24 Layout.leftMargin: 16 Layout.alignment: Qt.AlignVCenter fillMode: Image.PreserveAspectFit @@ -106,6 +109,9 @@ Rectangle { Image { width: 24 height: 24 + opacity: 0.54 + sourceSize.height: 24 + sourceSize.width: 24 Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter Layout.leftMargin: 16 fillMode: Image.PreserveAspectFit -- cgit v1.2.3