summaryrefslogtreecommitdiff
path: root/editor/plugins/asset_library_editor_plugin.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-12-16 08:27:55 +0100
committerGitHub <noreply@github.com>2019-12-16 08:27:55 +0100
commit183eafcea8a47ae07341cdef262ca93e818b47b1 (patch)
tree355dbf7464e324b39e2edc56ab97413d76f52bc0 /editor/plugins/asset_library_editor_plugin.cpp
parent6ec42b7507e0fb14e86068ba3809148b371c481f (diff)
parenta3ab1cb6983bf138e23070fa8d428c9e6505dab0 (diff)
Merge pull request #34375 from timothyqiu/vcenter
Center error icon vertically in AssetLib
Diffstat (limited to 'editor/plugins/asset_library_editor_plugin.cpp')
-rw-r--r--editor/plugins/asset_library_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp
index b261ca4712..ce31714e0c 100644
--- a/editor/plugins/asset_library_editor_plugin.cpp
+++ b/editor/plugins/asset_library_editor_plugin.cpp
@@ -1494,6 +1494,7 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
error_label->add_color_override("color", get_color("error_color", "Editor"));
error_hb->add_child(error_label);
error_tr = memnew(TextureRect);
+ error_tr->set_v_size_flags(Control::SIZE_SHRINK_CENTER);
error_hb->add_child(error_tr);
description = NULL;