Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default.
This commit is contained in:
@@ -226,6 +226,7 @@ EditorObjectSelector::EditorObjectSelector(EditorSelectionHistory *p_history) {
|
||||
main_hb->add_child(current_object_icon);
|
||||
|
||||
current_object_label = memnew(Label);
|
||||
current_object_label->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
current_object_label->set_text_overrun_behavior(TextServer::OVERRUN_TRIM_ELLIPSIS);
|
||||
current_object_label->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
current_object_label->set_vertical_alignment(VERTICAL_ALIGNMENT_CENTER);
|
||||
|
||||
Reference in New Issue
Block a user