mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
Applications: Use application icons for dialog windows
This commit is contained in:
parent
15b68b4653
commit
e569f7fd1c
5 changed files with 7 additions and 0 deletions
|
@ -61,6 +61,7 @@ CellTypeDialog::CellTypeDialog(const Vector<Position>& positions, Sheet& sheet,
|
|||
builder.appendff("Format {} Cells", positions.size());
|
||||
|
||||
set_title(builder.string_view());
|
||||
set_icon(parent->icon());
|
||||
resize(285, 360);
|
||||
|
||||
auto& main_widget = set_main_widget<GUI::Widget>();
|
||||
|
|
|
@ -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 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue