mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-25 17:21:05 -04:00
Fix horizontal scroll on category selection
This commit is contained in:
parent
efd14e4465
commit
9386657955
1 changed files with 23 additions and 24 deletions
|
@ -100,38 +100,37 @@ Rectangle
|
|||
|
||||
|
||||
//seperator
|
||||
Rectangle
|
||||
{
|
||||
color: "black"
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: buttonWidth
|
||||
width: parent.width
|
||||
height: 1
|
||||
}
|
||||
Rectangle
|
||||
{
|
||||
color: emojiPicker.color
|
||||
anchors.bottom: parent.bottom
|
||||
width: parent.width
|
||||
height: buttonWidth
|
||||
}
|
||||
Rectangle
|
||||
{
|
||||
color: "black"
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: buttonWidth
|
||||
width: parent.width
|
||||
height: 1
|
||||
}
|
||||
|
||||
//emoji category selector
|
||||
ListView
|
||||
{
|
||||
width: parent.width
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: buttonWidth
|
||||
orientation: ListView.Horizontal
|
||||
|
||||
model: emojiCategoryButtons
|
||||
delegate: EmojiCategoryButton
|
||||
//emoji category selector
|
||||
ListView
|
||||
{
|
||||
width: buttonWidth
|
||||
height: buttonWidth
|
||||
color: emojiPicker.color
|
||||
fontName: rootFontName
|
||||
}
|
||||
width: parent.width
|
||||
orientation: ListView.Horizontal
|
||||
anchors.fill: parent
|
||||
|
||||
model: emojiCategoryButtons
|
||||
delegate: EmojiCategoryButton
|
||||
{
|
||||
width: buttonWidth
|
||||
height: buttonWidth
|
||||
color: emojiPicker.color
|
||||
fontName: rootFontName
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ListModel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue