Initial editor accessibility.
This commit is contained in:
@ -499,6 +499,7 @@ GroupSettingsEditor::GroupSettingsEditor() {
|
||||
group_name = memnew(LineEdit);
|
||||
group_name->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
group_name->set_clear_button_enabled(true);
|
||||
group_name->set_accessibility_name(TTRC("Group Name"));
|
||||
group_name->connect(SceneStringName(text_changed), callable_mp(this, &GroupSettingsEditor::_group_name_text_changed));
|
||||
group_name->connect(SceneStringName(text_submitted), callable_mp(this, &GroupSettingsEditor::_text_submitted));
|
||||
hbc->add_child(group_name);
|
||||
@ -509,6 +510,7 @@ GroupSettingsEditor::GroupSettingsEditor() {
|
||||
|
||||
group_description = memnew(LineEdit);
|
||||
group_description->set_clear_button_enabled(true);
|
||||
group_description->set_accessibility_name(TTRC("Group Description"));
|
||||
group_description->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
group_description->connect(SceneStringName(text_submitted), callable_mp(this, &GroupSettingsEditor::_text_submitted));
|
||||
hbc->add_child(group_description);
|
||||
|
||||
Reference in New Issue
Block a user