1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:58:11 +00:00

Assistant: Show a border around the window

This commit is contained in:
timre13 2021-07-04 14:23:49 +02:00 committed by Andreas Kling
parent 11ff3c11f4
commit 55dd568583

View file

@ -202,8 +202,9 @@ int main(int argc, char** argv)
Assistant::AppState app_state;
Assistant::Database db { app_state };
auto& container = window->set_main_widget<GUI::Widget>();
auto& container = window->set_main_widget<GUI::Frame>();
container.set_fill_with_background_color(true);
container.set_frame_shadow(Gfx::FrameShadow::Raised);
auto& layout = container.set_layout<GUI::VerticalBoxLayout>();
layout.set_margins({ 8, 8, 8, 0 });