aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/texture_rect.h
diff options
context:
space:
mode:
authorgeequlim2017-02-09 22:46:35 +0800
committergeequlim2017-02-09 22:52:52 +0800
commitab375117ba4e0549fa0b893c3f96a166042f43b9 (patch)
treec5318c06de7b4be5c6acca5b990370b4bb1b0bfb /scene/gui/texture_rect.h
parentb87a232668d9f9f3b32c2fceb60bc5f6ef46df22 (diff)
downloadgodot-ab375117ba4e0549fa0b893c3f96a166042f43b9.tar.gz
godot-ab375117ba4e0549fa0b893c3f96a166042f43b9.tar.zst
godot-ab375117ba4e0549fa0b893c3f96a166042f43b9.zip
Add STRETCH_KEEP_ASPECT_COVERED to TextureRect StretchMode
Make TextureButton to the same resize behavior with TextureRect
Diffstat (limited to '')
-rw-r--r--scene/gui/texture_rect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/texture_rect.h b/scene/gui/texture_rect.h
index e95d74275..0d7245890 100644
--- a/scene/gui/texture_rect.h
+++ b/scene/gui/texture_rect.h
@@ -45,7 +45,7 @@ public:
STRETCH_KEEP_CENTERED,
STRETCH_KEEP_ASPECT,
STRETCH_KEEP_ASPECT_CENTERED,
-
+ STRETCH_KEEP_ASPECT_COVERED,
};
private:
bool expand;