You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
align to horizontal_alignment, valign to vertical_alignment, related
This commit is contained in:
@@ -128,7 +128,7 @@ void EditorCommandPalette::_update_command_search(const String &search_text) {
|
||||
String shortcut_text = entries[i].shortcut_text == "None" ? "" : entries[i].shortcut_text;
|
||||
ti->set_text(0, entries[i].display_name);
|
||||
ti->set_metadata(0, entries[i].key_name);
|
||||
ti->set_text_align(1, TreeItem::TextAlign::ALIGN_RIGHT);
|
||||
ti->set_text_alignment(1, HORIZONTAL_ALIGNMENT_RIGHT);
|
||||
ti->set_text(1, shortcut_text);
|
||||
Color c = Color(1, 1, 1, 0.5);
|
||||
ti->set_custom_color(1, c);
|
||||
|
||||
Reference in New Issue
Block a user