From de2bf8d232204c0e10a70ae8a88ff8d55ef9cec5 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 30 Mar 2021 23:42:10 +0200 Subject: [PATCH] ResourceGraph.MenuApplet: Make these a little bit smaller --- Userland/MenuApplets/ResourceGraph/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/MenuApplets/ResourceGraph/main.cpp b/Userland/MenuApplets/ResourceGraph/main.cpp index fbb271d164..94166da964 100644 --- a/Userland/MenuApplets/ResourceGraph/main.cpp +++ b/Userland/MenuApplets/ResourceGraph/main.cpp @@ -49,7 +49,7 @@ class GraphWidget final : public GUI::Frame { C_OBJECT(GraphWidget); public: - static constexpr size_t history_size = 30; + static constexpr size_t history_size = 24; GraphWidget(GraphType graph_type, Optional graph_color, Optional graph_error_color) : m_graph_type(graph_type) @@ -254,7 +254,7 @@ int main(int argc, char** argv) auto window = GUI::Window::construct(); window->set_title(name); window->set_window_type(GUI::WindowType::MenuApplet); - window->resize(GraphWidget::history_size + 2, 16); + window->resize(GraphWidget::history_size + 2, 15); window->set_main_widget(graph_type, graph_color, graph_error_color); window->show();