SystemMonitor: Put the "Hardware" tabs at the end of the list

This commit is contained in:
Andreas Kling 2021-08-18 13:07:35 +02:00
parent 4eb198baf3
commit b36968c442

View file

@ -194,12 +194,12 @@ int main(int argc, char** argv)
auto storage_widget = build_storage_widget();
tabwidget.add_widget("Storage", storage_widget);
auto hardware_widget = build_hardware_tab();
tabwidget.add_widget("Hardware", hardware_widget);
auto network_stats_widget = NetworkStatisticsWidget::construct();
tabwidget.add_widget("Network", network_stats_widget);
auto hardware_widget = build_hardware_tab();
tabwidget.add_widget("Hardware", hardware_widget);
process_table_container.set_layout<GUI::VerticalBoxLayout>();
process_table_container.layout()->set_margins(4);
process_table_container.layout()->set_spacing(0);