Merge branch 'qml_app_ui_improvements' into GSoC2017-evaluation-II

This commit is contained in:
Angela Mazzurco 2017-08-03 16:48:47 +02:00
commit c790a5bff4
3 changed files with 6 additions and 3 deletions

View File

@ -257,6 +257,7 @@ Item
}
function reset ()
{
msgField.text = ""
Qt.inputMethod.reset()
}
}
@ -362,13 +363,13 @@ Item
{
if (emojiPicker.state == "EMOJI_SHOWN") emojiPicker.state = "EMOJI_HIDDEN"
var msgText = getCompleteMessageText()
msgField.text = getCompleteMessageText () + " " // Needed to prevent pre edit text problems
var msgText = msgField.text
var jsonData = {"chat_id":chatView.chatId, "msg":msgText}
rsApi.request( "/chat/send_message", JSON.stringify(jsonData),
function(par)
{
msgField.text = ""
msgField.reset();
})
}

View File

@ -145,7 +145,7 @@ Item
{
id: delegate
width: parent.width
height: locationButton.height + 5
height: 60
Rectangle
{
id: backgroundRectangle
@ -171,6 +171,7 @@ Item
{
id: locationButton
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
text: model.name
borderRadius:0
iconUrl: "/icons/edit-image-face-detect.svg"

View File

@ -136,6 +136,7 @@ Item
id: contactAvatar
anchors.fill: parent
visible: compRoot.has_avatar
fillMode: Image.PreserveAspectFit
}
Faces