mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:27:43 +00:00
LibGUI: Use new layout system for basic widgets
This commit is contained in:
parent
bfbaad9f41
commit
19fac58e49
17 changed files with 85 additions and 18 deletions
|
@ -56,8 +56,8 @@ ComboBox::ComboBox()
|
|||
REGISTER_STRING_PROPERTY("placeholder", editor_placeholder, set_editor_placeholder);
|
||||
REGISTER_BOOL_PROPERTY("model_only", only_allow_values_from_model, set_only_allow_values_from_model);
|
||||
|
||||
set_min_width(32);
|
||||
set_fixed_height(22);
|
||||
set_min_size({ 40, 22 });
|
||||
set_preferred_size({ SpecialDimension::OpportunisticGrow, 22 });
|
||||
|
||||
m_editor = add<ComboBoxEditor>();
|
||||
m_editor->set_frame_thickness(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue