mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +00:00
LibGUI: Give a default min-width to a bunch of widgets
This commit is contained in:
parent
10b5b9ee66
commit
bc5635422b
7 changed files with 7 additions and 0 deletions
|
@ -35,6 +35,7 @@ namespace GUI {
|
|||
ColorInput::ColorInput()
|
||||
: TextEditor(TextEditor::SingleLine)
|
||||
{
|
||||
set_min_width(32);
|
||||
set_fixed_height(22);
|
||||
TextEditor::on_change = [this] {
|
||||
auto parsed_color = Color::from_string(text());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue