diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-14 16:18:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 16:18:17 +0200 |
commit | 111a3ca09711862e08ced7fa445801e2b89ffe4c (patch) | |
tree | fdd445c3b1f98d86bbf96323eb37f6bdaad3b2db /scene/gui | |
parent | d845d690f2c0acdc49eb45502cc356317c19a3fa (diff) | |
parent | 5553e27fe8346eed22ca4a47728fedcf2a7d7ffd (diff) |
Merge pull request #59125 from KoBeWi/link_to_the_vector
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/control.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 3db1719226..5ddc38a0b9 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -478,6 +478,10 @@ void Control::_validate_property(PropertyInfo &property) const { } } + if (property.name == "scale") { + property.hint = PROPERTY_HINT_LINK; + } + // Validate which positioning properties should be displayed depending on the parent and the layout mode. Node *parent_node = get_parent_control(); if (!parent_node) { |