ColorPicker: fix DPI, hue & color update issues
This commit is contained in:
parent
6b93455b6b
commit
443e58e88c
2 changed files with 25 additions and 24 deletions
|
|
@ -824,7 +824,7 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant::
|
|||
color_picker->show();
|
||||
color_picker->set_edit_alpha(hint != PROPERTY_HINT_COLOR_NO_ALPHA);
|
||||
color_picker->set_pick_color(v);
|
||||
set_size(Size2(300 * EDSCALE, color_picker->get_combined_minimum_size().height + 10 * EDSCALE));
|
||||
set_size(Size2(307 * EDSCALE, 460 * EDSCALE));
|
||||
color_picker->set_focus_on_line_edit();
|
||||
/*
|
||||
int ofs=80;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue