mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-26 22:42:28 +00:00
LibGUI: Give a default min-width to a bunch of widgets
This commit is contained in:
@@ -38,6 +38,7 @@ namespace GUI {
|
||||
Button::Button(String text)
|
||||
: AbstractButton(move(text))
|
||||
{
|
||||
set_min_width(32);
|
||||
set_fixed_height(22);
|
||||
set_focus_policy(GUI::FocusPolicy::StrongFocus);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user