1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:07:46 +00:00

LibGUI: Wrap the EmojiInputDialog in a scrollable container

This will prevent the dialog from growing endlessly as emoji are added.
This commit is contained in:
Timothy Flynn 2022-09-01 09:09:51 -04:00 committed by Linus Groh
parent 11d29bc2ea
commit 3aaaacdb3a
2 changed files with 12 additions and 9 deletions

View file

@ -6,8 +6,11 @@
margins: [4]
}
@GUI::Widget {
name: "emojis"
layout: @GUI::VerticalBoxLayout {}
@GUI::ScrollableContainerWidget {
name: "scrollable_container"
content_widget: @GUI::Widget {
name: "emojis"
layout: @GUI::VerticalBoxLayout {}
}
}
}