mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02: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:
committed by
Linus Groh
parent
11d29bc2ea
commit
3aaaacdb3a
Notes:
sideshowbarker
2024-07-17 07:22:45 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/3aaaacdb3a Pull-request: https://github.com/SerenityOS/serenity/pull/15094 Reviewed-by: https://github.com/linusg ✅
@@ -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 {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user