1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00

LibGUI: Give a default min-width to a bunch of widgets

This commit is contained in:
Andreas Kling 2020-12-30 02:57:45 +01:00
parent 10b5b9ee66
commit bc5635422b
7 changed files with 7 additions and 0 deletions

View file

@ -32,6 +32,7 @@ namespace GUI {
SpinBox::SpinBox()
{
set_min_width(32);
set_fixed_height(22);
m_editor = add<TextBox>();
m_editor->set_text("0");