mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Close drawe when click your avatar image to show details
This commit is contained in:
parent
a9e4271c35
commit
b4ee63ad9b
@ -25,7 +25,7 @@ Item
|
||||
id: compRoot
|
||||
|
||||
property string gxs_id
|
||||
|
||||
signal clicked ()
|
||||
|
||||
height: 130
|
||||
width: height
|
||||
@ -90,6 +90,10 @@ Item
|
||||
MouseArea
|
||||
{
|
||||
anchors.fill: parent
|
||||
onClicked: showDetails()
|
||||
onClicked:
|
||||
{
|
||||
compRoot.clicked()
|
||||
showDetails()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -51,6 +51,7 @@ Drawer
|
||||
anchors.margins: styles.avatarMargins
|
||||
anchors.horizontalCenter: header.horizontalCenter
|
||||
anchors.top: header.top
|
||||
onClicked: drawer.close()
|
||||
}
|
||||
|
||||
Text
|
||||
@ -73,7 +74,7 @@ Drawer
|
||||
{
|
||||
id: gxsText
|
||||
text: (ChatCache.contactsCache.own)?ChatCache.contactsCache.own.gxs_id : ""
|
||||
height: contentHeight
|
||||
// height: contentHeight
|
||||
wrapMode: Text.WrapAnywhere
|
||||
width: header.width
|
||||
anchors.top: nickText.bottom
|
||||
|
Loading…
Reference in New Issue
Block a user