1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 20:15:07 +00:00

LibGUI: Add GHBoxLayout and GVBoxLayout convenience classes

This commit is contained in:
Andreas Kling 2020-02-02 09:48:11 +01:00
parent 63364f8a5d
commit d67da8c101
50 changed files with 128 additions and 114 deletions

View file

@ -38,7 +38,7 @@ ProcessStateWidget::ProcessStateWidget(GWidget* parent)
set_preferred_size(0, 20);
set_visible(false);
set_layout(make<GBoxLayout>(Orientation::Horizontal));
set_layout(make<GHBoxLayout>());
auto pid_label_label = GLabel::construct("Process:", this);
pid_label_label->set_font(Font::default_bold_font());