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

Taskbar: Left-align the text on taskbar window buttons.

This commit is contained in:
Andreas Kling 2019-04-04 14:16:09 +02:00
parent 89c544d97b
commit 8a50218190

View file

@ -41,6 +41,7 @@ GButton* TaskbarWindow::create_button()
button->set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed); button->set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed);
button->set_preferred_size({ 100, 22 }); button->set_preferred_size({ 100, 22 });
button->set_checkable(true); button->set_checkable(true);
button->set_text_alignment(TextAlignment::CenterLeft);
return button; return button;
} }