You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default.
This commit is contained in:
@@ -332,6 +332,7 @@ EditorNetworkProfiler::EditorNetworkProfiler() {
|
||||
|
||||
Label *lb = memnew(Label);
|
||||
// TRANSLATORS: This is the label for the network profiler's incoming bandwidth.
|
||||
lb->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
lb->set_text(TTR("Down", "Network"));
|
||||
hb->add_child(lb);
|
||||
|
||||
@@ -348,6 +349,7 @@ EditorNetworkProfiler::EditorNetworkProfiler() {
|
||||
|
||||
lb = memnew(Label);
|
||||
// TRANSLATORS: This is the label for the network profiler's outgoing bandwidth.
|
||||
lb->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
lb->set_text(TTR("Up", "Network"));
|
||||
hb->add_child(lb);
|
||||
|
||||
|
||||
@@ -275,6 +275,7 @@ ReplicationEditor::ReplicationEditor() {
|
||||
vb->add_child(tree);
|
||||
|
||||
drop_label = memnew(Label);
|
||||
drop_label->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
drop_label->set_text(TTR("Add properties using the options above, or\ndrag them from the inspector and drop them here."));
|
||||
drop_label->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER);
|
||||
drop_label->set_vertical_alignment(VERTICAL_ALIGNMENT_CENTER);
|
||||
|
||||
Reference in New Issue
Block a user