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:
parent
11ff3c11f4
commit
55dd568583
1 changed files with 2 additions and 1 deletions
|
@ -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 });
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue