Fix properties for container sizing not clipping in the inspector

This commit is contained in:
Michael Alexsander 2025-12-05 11:26:14 -03:00
parent dec5a373d9
commit 4b73e5af24
No known key found for this signature in database
GPG key ID: A9C91EE110F4EABA

View file

@ -439,6 +439,7 @@ EditorPropertySizeFlags::EditorPropertySizeFlags() {
flag_expand = memnew(CheckBox);
flag_expand->set_text(TTR("Expand"));
flag_expand->set_clip_text(true);
vb->add_child(flag_expand);
add_focusable(flag_expand);
flag_expand->connect(SceneStringName(pressed), callable_mp(this, &EditorPropertySizeFlags::_expand_toggled));