diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-12-16 08:27:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-16 08:27:55 +0100 |
commit | 183eafcea8a47ae07341cdef262ca93e818b47b1 (patch) | |
tree | 355dbf7464e324b39e2edc56ab97413d76f52bc0 /editor/plugins/asset_library_editor_plugin.cpp | |
parent | 6ec42b7507e0fb14e86068ba3809148b371c481f (diff) | |
parent | a3ab1cb6983bf138e23070fa8d428c9e6505dab0 (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.cpp | 1 |
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; |