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:
parent
d441dec5d8
commit
e6e4fe4f51
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue