1
Fork 0
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:
thankyouverycool 2020-08-30 17:21:15 -04:00 committed by Andreas Kling
parent 9adbbff4dd
commit 60872a7c5a
3 changed files with 4 additions and 1 deletions

View file

@ -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);