1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 16:35:06 +00:00

Applications: Use application icons for dialog windows

This commit is contained in:
Brendan Coles 2020-10-31 00:25:30 +00:00 committed by Andreas Kling
parent 15b68b4653
commit e569f7fd1c
5 changed files with 7 additions and 0 deletions

View file

@ -81,6 +81,7 @@ HelpWindow::HelpWindow(GUI::Window* parent)
{
resize(530, 365);
set_title("Spreadsheet Functions Help");
set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-help.png"));
auto& widget = set_main_widget<GUI::Widget>();
widget.set_layout<GUI::VerticalBoxLayout>().set_margins({ 4, 4, 4, 4 });