1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:28:11 +00:00

LibGUI: Add 1px of margin to EmojiPickerDialog

The left and top highlight edges were cut off by the dialog frame.
Add a small margin to make sure all buttons can be painted fully.
This commit is contained in:
Andreas Kling 2020-12-31 14:39:23 +01:00
parent d441dec5d8
commit e6e4fe4f51

View file

@ -65,6 +65,7 @@ EmojiInputDialog::EmojiInputDialog(Window* parent_window)
main_widget.set_frame_shadow(Gfx::FrameShadow::Raised);
main_widget.set_fill_with_background_color(true);
auto& main_layout = main_widget.set_layout<VerticalBoxLayout>();
main_layout.set_margins({ 1, 1, 1, 1 });
main_layout.set_spacing(0);
auto code_points = supported_emoji_code_points();