Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
}\r
\r
MenuItem {\r
- text: "Add account"\r
+ id: addAccountButton\r
+ height: 60\r
+\r
+ RowLayout {\r
+ width: addAccountButton.width\r
+ height: addAccountButton.height\r
+ spacing: 0\r
+\r
+ Image {\r
+ Layout.leftMargin: 8\r
+ verticalAlignment: Qt.AlignCenter\r
+ source: "qrc:///client/theme/black/add.svg"\r
+ sourceSize.width: addAccountButton.height - 24\r
+ sourceSize.height: addAccountButton.height - 24\r
+ }\r
+ Label {\r
+ Layout.leftMargin: 10\r
+ text: "Add account"\r
+ color: "black"\r
+ font.pixelSize: 12\r
+ }\r
+ Item {\r
+ Layout.fillWidth: true\r
+ Layout.fillHeight: true\r
+ }\r
+ }\r
onClicked: userModelBackend.addAccount()\r
}\r
\r
<file>theme/black/caret-down.svg</file>
<file>theme/white/user.svg</file>
<file>theme/black/user.svg</file>
+ <file>theme/white/add.svg</file>
+ <file>theme/black/add.svg</file>
</qresource>
</RCC>
--- /dev/null
+<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" viewbox="0 0 16 16"><path fill="#000" d="M9.02 13.98h-2v-5h-5v-2h5v-5h2v5l5-.028V8.98h-5z"/></svg>
\ No newline at end of file
--- /dev/null
+<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" viewbox="0 0 16 16"><path fill="#fff" d="M9.02 13.98h-2v-5h-5v-2h5v-5h2v5l5-.028V8.98h-5z"/></svg>
\ No newline at end of file