mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 21:57:35 +00:00
DevTools+Apps: Set correct icons for ThemeEditor and VisualBuilder
VB appears deprecated in favor of HackStudio, but until it's officially gone-no app left behind!
This commit is contained in:
parent
9adbbff4dd
commit
60872a7c5a
3 changed files with 4 additions and 1 deletions
|
@ -75,6 +75,7 @@ int main(int argc, char** argv)
|
|||
window->set_title(form1->name());
|
||||
window->set_rect(120, 200, 640, 400);
|
||||
window->set_main_widget(form1);
|
||||
window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-visual-builder.png"));
|
||||
|
||||
window->show();
|
||||
|
||||
|
@ -102,6 +103,7 @@ RefPtr<GUI::Window> make_toolbox_window()
|
|||
auto window = GUI::Window::construct();
|
||||
window->set_title("Widgets");
|
||||
window->set_rect(20, 200, 80, 300);
|
||||
window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-visual-builder.png"));
|
||||
|
||||
auto& widget = window->set_main_widget<GUI::Widget>();
|
||||
widget.set_fill_with_background_color(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue