Preps for UserLine submenu

Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
This commit is contained in:
Dominique Fuchs 2020-01-05 21:31:09 +01:00
parent 330ff96ee2
commit 6ac1a4a353
4 changed files with 5 additions and 8 deletions

View file

@ -12,7 +12,7 @@ MenuItem {
}
id: userLine
width: 216
width: 220
height: 60
Rectangle {
@ -79,13 +79,8 @@ MenuItem {
font.pixelSize: 10
}
}
Item {
id: userLineSpacer
Layout.fillWidth: true
}
}
}
} // accountButton
}
} // Rectangle userLineBackground
} // MenuItem userLine

View file

@ -108,7 +108,7 @@ Window {
id: accountMenu
x: (currentAccountButton.x + 2)
y: (currentAccountButton.y + currentAccountButton.height + 2)
width: (currentAccountButton.width - 4)
width: (currentAccountButton.width)
closePolicy: "CloseOnPressOutside"
background: Rectangle {

View file

@ -135,5 +135,6 @@
<file>theme/white/more-apps.svg</file>
<file>theme/white/talk-app.svg</file>
<file>theme/white/caret-down.svg</file>
<file>theme/black/caret-down.svg</file>
</qresource>
</RCC>

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" viewbox="0 0 16 16"><path d="M4 6l4 4 4-3.994z" fill="#000"/></svg>

After

Width:  |  Height:  |  Size: 145 B