mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default.
This commit is contained in:
parent
1696ab0cb6
commit
5b49fd4207
84 changed files with 159 additions and 14 deletions
|
|
@ -1139,6 +1139,7 @@ VersionControlEditorPlugin::VersionControlEditorPlugin() {
|
|||
set_up_ssh_passphrase_input->add_child(set_up_ssh_passphrase);
|
||||
|
||||
set_up_warning_text = memnew(Label);
|
||||
set_up_warning_text->set_focus_mode(Control::FOCUS_ACCESSIBILITY);
|
||||
set_up_warning_text->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER);
|
||||
set_up_warning_text->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
set_up_settings_vbc->add_child(set_up_warning_text);
|
||||
|
|
@ -1503,6 +1504,7 @@ VersionControlEditorPlugin::VersionControlEditorPlugin() {
|
|||
version_control_dock->add_child(diff_heading);
|
||||
|
||||
diff_title = memnew(Label);
|
||||
diff_title->set_focus_mode(Control::FOCUS_ACCESSIBILITY);
|
||||
diff_title->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
diff_heading->add_child(diff_title);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue