Fix horizontal scroll on category selection

This commit is contained in:
Angela Mazzurco 2017-09-06 18:50:20 +02:00
parent efd14e4465
commit 9386657955

View file

@ -100,13 +100,6 @@ Rectangle
//seperator
Rectangle
{
color: emojiPicker.color
anchors.bottom: parent.bottom
width: parent.width
height: buttonWidth
}
Rectangle
{
color: "black"
@ -115,14 +108,19 @@ Rectangle
width: parent.width
height: 1
}
Rectangle
{
color: emojiPicker.color
anchors.bottom: parent.bottom
width: parent.width
height: buttonWidth
//emoji category selector
ListView
{
width: parent.width
anchors.bottom: parent.bottom
anchors.bottomMargin: buttonWidth
orientation: ListView.Horizontal
anchors.fill: parent
model: emojiCategoryButtons
delegate: EmojiCategoryButton
@ -133,6 +131,7 @@ Rectangle
fontName: rootFontName
}
}
}
ListModel
{