mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
Assistant: Show a border around the window
This commit is contained in:
parent
11ff3c11f4
commit
55dd568583
Notes:
sideshowbarker
2024-07-18 10:30:21 +09:00
Author: https://github.com/timre13 🔰
Commit: 55dd568583
Pull-request: https://github.com/SerenityOS/serenity/pull/8431
Issue: https://github.com/SerenityOS/serenity/issues/8407
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