mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user