mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Allow all ColorPicker Shapes to expand horizontally
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
This commit is contained in:
parent
6efa557e9b
commit
b22e266d71
2 changed files with 3 additions and 1 deletions
|
|
@ -2162,7 +2162,7 @@ ColorPicker::ColorPicker() {
|
|||
internal_margin->add_child(real_vbox);
|
||||
|
||||
shape_container = memnew(HBoxContainer);
|
||||
shape_container->set_v_size_flags(SIZE_SHRINK_BEGIN);
|
||||
shape_container->set_alignment(ALIGNMENT_CENTER);
|
||||
real_vbox->add_child(shape_container);
|
||||
|
||||
sample_hbc = memnew(HBoxContainer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue