mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 07:25:36 -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,13 +100,6 @@ Rectangle
|
||||||
|
|
||||||
|
|
||||||
//seperator
|
//seperator
|
||||||
Rectangle
|
|
||||||
{
|
|
||||||
color: emojiPicker.color
|
|
||||||
anchors.bottom: parent.bottom
|
|
||||||
width: parent.width
|
|
||||||
height: buttonWidth
|
|
||||||
}
|
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
color: "black"
|
color: "black"
|
||||||
|
@ -115,14 +108,19 @@ Rectangle
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: 1
|
height: 1
|
||||||
}
|
}
|
||||||
|
Rectangle
|
||||||
|
{
|
||||||
|
color: emojiPicker.color
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
width: parent.width
|
||||||
|
height: buttonWidth
|
||||||
|
|
||||||
//emoji category selector
|
//emoji category selector
|
||||||
ListView
|
ListView
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
anchors.bottom: parent.bottom
|
|
||||||
anchors.bottomMargin: buttonWidth
|
|
||||||
orientation: ListView.Horizontal
|
orientation: ListView.Horizontal
|
||||||
|
anchors.fill: parent
|
||||||
|
|
||||||
model: emojiCategoryButtons
|
model: emojiCategoryButtons
|
||||||
delegate: EmojiCategoryButton
|
delegate: EmojiCategoryButton
|
||||||
|
@ -133,6 +131,7 @@ Rectangle
|
||||||
fontName: rootFontName
|
fontName: rootFontName
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ListModel
|
ListModel
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue