1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:18:11 +00:00

ProcessManager: Tweak memory stats widget layout to fit more text

After a while, the kmalloc/kfree counts got too wide for the label.
This commit is contained in:
Andreas Kling 2019-08-08 19:50:33 +02:00
parent 865a1b913c
commit eb3c19773e

View file

@ -26,7 +26,7 @@ MemoryStatsWidget::MemoryStatsWidget(GraphWidget& graph, GWidget* parent)
auto* container = new GWidget(this);
container->set_layout(make<GBoxLayout>(Orientation::Horizontal));
container->set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed);
container->set_preferred_size(255, 12);
container->set_preferred_size(275, 12);
auto* description_label = new GLabel(description, container);
description_label->set_font(Font::default_bold_font());
description_label->set_text_alignment(TextAlignment::CenterLeft);