mirror of
https://github.com/RGBCube/serenity
synced 2025-07-08 20:27:35 +00:00
ProcessManager+LibGUI: Tweak things to improve ProcessManager look.
This commit is contained in:
parent
9e5ad25188
commit
3bdb95e128
7 changed files with 20 additions and 15 deletions
|
@ -18,7 +18,13 @@ int main(int argc, char** argv)
|
|||
{
|
||||
GApplication app(argc, argv);
|
||||
|
||||
auto* tabwidget = new GTabWidget(nullptr);
|
||||
auto* keeper = new GWidget;
|
||||
keeper->set_layout(make<GBoxLayout>(Orientation::Vertical));
|
||||
keeper->set_fill_with_background_color(true);
|
||||
keeper->set_background_color(Color::LightGray);
|
||||
keeper->layout()->set_margins({ 2, 2, 2, 2 });
|
||||
|
||||
auto* tabwidget = new GTabWidget(keeper);
|
||||
|
||||
auto* widget = new GWidget(nullptr);
|
||||
tabwidget->add_widget("Processes", widget);
|
||||
|
@ -105,7 +111,7 @@ int main(int argc, char** argv)
|
|||
auto* window = new GWindow;
|
||||
window->set_title("ProcessManager");
|
||||
window->set_rect(20, 200, 680, 400);
|
||||
window->set_main_widget(tabwidget);
|
||||
window->set_main_widget(keeper);
|
||||
window->set_should_exit_event_loop_on_close(true);
|
||||
window->show();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue