1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add STRETCH_KEEP_ASPECT_COVERED to TextureRect StretchMode

Make TextureButton to the same resize behavior with TextureRect
This commit is contained in:
geequlim
2017-02-09 22:46:35 +08:00
parent b87a232668
commit ab375117ba
4 changed files with 133 additions and 44 deletions

View File

@@ -45,7 +45,7 @@ public:
STRETCH_KEEP_CENTERED,
STRETCH_KEEP_ASPECT,
STRETCH_KEEP_ASPECT_CENTERED,
STRETCH_KEEP_ASPECT_COVERED,
};
private:
bool expand;