mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-14 04:23:10 -04:00
Fix horizontal scroll on category selection
This commit is contained in:
parent
efd14e4465
commit
9386657955
@ -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…
x
Reference in New Issue
Block a user