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

IRCClient: Tweak appearance.

This commit is contained in:
Andreas Kling 2019-05-11 00:16:08 +02:00
parent 4b32aa71d2
commit b54eefa25e

View file

@ -133,7 +133,10 @@ void IRCAppWindow::setup_widgets()
{ {
auto* widget = new GWidget(nullptr); auto* widget = new GWidget(nullptr);
set_main_widget(widget); set_main_widget(widget);
widget->set_fill_with_background_color(true);
widget->set_background_color(Color::LightGray);
widget->set_layout(make<GBoxLayout>(Orientation::Vertical)); widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
widget->layout()->set_margins({ 4, 4, 4, 4 });
auto* toolbar = new GToolBar(widget); auto* toolbar = new GToolBar(widget);
toolbar->add_action(*m_change_nick_action); toolbar->add_action(*m_change_nick_action);