mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 07:09:47 +00:00
LibGUI: Give a default min-width to a bunch of widgets
This commit is contained in:
parent
10b5b9ee66
commit
bc5635422b
Notes:
sideshowbarker
2024-07-19 00:24:51 +09:00
Author: https://github.com/awesomekling
Commit: bc5635422b
7 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue