mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Tweak dozens of editor property hints for consistency
- Update Viewport MSAA property hints to match the currently exposed values. - Add some performance hints to property hints.
This commit is contained in:
@@ -292,7 +292,7 @@ void LinkButton::_bind_methods() {
|
||||
BIND_ENUM_CONSTANT(UNDERLINE_MODE_NEVER);
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::STRING, "text"), "set_text", "get_text");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "text_direction", PROPERTY_HINT_ENUM, "Auto,LTR,RTL,Inherited"), "set_text_direction", "get_text_direction");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "text_direction", PROPERTY_HINT_ENUM, "Auto,Left-to-Right,Right-to-Left,Inherited"), "set_text_direction", "get_text_direction");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::STRING, "language"), "set_language", "get_language");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "underline", PROPERTY_HINT_ENUM, "Always,On Hover,Never"), "set_underline_mode", "get_underline_mode");
|
||||
ADD_GROUP("Structured Text", "structured_text_");
|
||||
|
||||
Reference in New Issue
Block a user