diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-06 14:44:13 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-06 14:44:13 +0100 |
commit | 799b0a4fa8cc6eaa61845e62312d299ba9cd05c4 (patch) | |
tree | bc6752215c131027028751a1aff9ede15996fa53 /Applications/SystemMonitor/NetworkStatisticsWidget.cpp | |
parent | dccf335d5b1aa06e44f9262c95b176c42ba2cf1e (diff) | |
download | serenity-799b0a4fa8cc6eaa61845e62312d299ba9cd05c4.zip |
LibGUI: Rename {H,V}BoxLayout => {Horizontal,Vertical}BoxLayout
Diffstat (limited to 'Applications/SystemMonitor/NetworkStatisticsWidget.cpp')
-rw-r--r-- | Applications/SystemMonitor/NetworkStatisticsWidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Applications/SystemMonitor/NetworkStatisticsWidget.cpp b/Applications/SystemMonitor/NetworkStatisticsWidget.cpp index f6ae6609b1..d5d72d22b4 100644 --- a/Applications/SystemMonitor/NetworkStatisticsWidget.cpp +++ b/Applications/SystemMonitor/NetworkStatisticsWidget.cpp @@ -34,12 +34,12 @@ NetworkStatisticsWidget::NetworkStatisticsWidget(GUI::Widget* parent) : GUI::LazyWidget(parent) { on_first_show = [this](auto&) { - set_layout(make<GUI::VBoxLayout>()); + set_layout(make<GUI::VerticalBoxLayout>()); layout()->set_margins({ 4, 4, 4, 4 }); set_fill_with_background_color(true); auto adapters_group_box = GUI::GroupBox::construct("Adapters", this); - adapters_group_box->set_layout(make<GUI::VBoxLayout>()); + adapters_group_box->set_layout(make<GUI::VerticalBoxLayout>()); adapters_group_box->layout()->set_margins({ 6, 16, 6, 6 }); adapters_group_box->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed); adapters_group_box->set_preferred_size(0, 120); @@ -59,7 +59,7 @@ NetworkStatisticsWidget::NetworkStatisticsWidget(GUI::Widget* parent) m_adapter_table_view->set_model(GUI::JsonArrayModel::create("/proc/net/adapters", move(net_adapters_fields))); auto sockets_group_box = GUI::GroupBox::construct("Sockets", this); - sockets_group_box->set_layout(make<GUI::VBoxLayout>()); + sockets_group_box->set_layout(make<GUI::VerticalBoxLayout>()); sockets_group_box->layout()->set_margins({ 6, 16, 6, 6 }); sockets_group_box->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fill); sockets_group_box->set_preferred_size(0, 0); |