Merge pull request #12797 from viprip/12668_fix_texture_region_dock_zoom_icon_is_misaligned

Fix misaligned zoom icon in Texture Region Editor plugin
This commit is contained in:
Gilles Roudiere 2017-11-10 10:07:49 +01:00 committed by GitHub
commit e2785fbded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -860,6 +860,7 @@ TextureRegionEditor::TextureRegionEditor(EditorNode *p_editor) {
hb_tools->add_child(separator);
icon_zoom = memnew(TextureRect);
icon_zoom->set_stretch_mode(TextureRect::STRETCH_KEEP_ASPECT_CENTERED);
hb_tools->add_child(icon_zoom);
zoom_out = memnew(ToolButton);