diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-10 22:59:39 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-10 22:59:39 +0200 |
commit | 4b32aa71d2502a61dc3e9906700dc0b8cf9c70d4 (patch) | |
tree | 9e09dab3cc18ed60119d98f66a79173856ad6285 | |
parent | e2e07b94056010ac86096b8a2f9eaa9ae817485f (diff) | |
download | serenity-4b32aa71d2502a61dc3e9906700dc0b8cf9c70d4.zip |
ProcessManager: Tweak appearance (spacing, margins..)
-rw-r--r-- | Applications/ProcessManager/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Applications/ProcessManager/main.cpp b/Applications/ProcessManager/main.cpp index 6c1b1e7caa..6283644cc7 100644 --- a/Applications/ProcessManager/main.cpp +++ b/Applications/ProcessManager/main.cpp @@ -24,7 +24,7 @@ int main(int argc, char** argv) 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 }); + keeper->layout()->set_margins({ 4, 4, 4, 4 }); auto* tabwidget = new GTabWidget(keeper); @@ -36,7 +36,6 @@ int main(int argc, char** argv) graphs_container->set_background_color(Color::LightGray); graphs_container->set_layout(make<GBoxLayout>(Orientation::Vertical)); graphs_container->layout()->set_margins({ 4, 4, 4, 4 }); - graphs_container->layout()->set_spacing(4); auto* cpu_graph_group_box = new GGroupBox("CPU usage", graphs_container); cpu_graph_group_box->set_layout(make<GBoxLayout>(Orientation::Vertical)); @@ -66,8 +65,11 @@ int main(int argc, char** argv) tabwidget->add_widget("Graphs", graphs_container); widget->set_layout(make<GBoxLayout>(Orientation::Vertical)); + widget->layout()->set_margins({ 4, 0, 4, 4 }); + widget->layout()->set_spacing(0); auto* toolbar = new GToolBar(widget); + toolbar->set_has_frame(false); auto* process_table_view = new ProcessTableView(*cpu_graph, widget); auto* memory_stats_widget = new MemoryStatsWidget(*memory_graph, widget); |