Set emoji menu under inferior panel on android mode

This commit is contained in:
Angela Mazzurco 2017-09-07 18:13:29 +02:00
parent f435fcda28
commit d9804928dc

View File

@ -100,7 +100,7 @@ Item
anchors.fill: parent
anchors.topMargin: parent.height / 2
anchors.bottomMargin: categorySelectorHeight
anchors.bottomMargin: if(!androidMode) categorySelectorHeight
property int categorySelectorHeight: 50
@ -114,6 +114,7 @@ Item
name: "EMOJI_HIDDEN"
PropertyChanges { target: emojiPicker; anchors.topMargin: parent.height }
PropertyChanges { target: emojiPicker; anchors.bottomMargin: -1 }
PropertyChanges { target: emojiPicker; height: 0 }
},
State {
name: "EMOJI_SHOWN"
@ -132,7 +133,7 @@ Item
id: inferiorPanel
height: ( msgComposer.height > styles.height)? msgComposer.height: styles.height
width: parent.width
anchors.bottom: parent.bottom
anchors.bottom: emojiPicker.androidMode ? emojiPicker.top : parent.bottom
Rectangle
{