Add expand mode compat to TextureRect

This commit is contained in:
kobewi
2023-01-13 19:16:49 +01:00
parent 228db366bf
commit 54abd5b560
2 changed files with 13 additions and 0 deletions

View File

@ -69,6 +69,9 @@ protected:
void _notification(int p_what);
virtual Size2 get_minimum_size() const override;
static void _bind_methods();
#ifndef DISABLE_DEPRECATED
bool _set(const StringName &p_name, const Variant &p_value);
#endif
public:
void set_texture(const Ref<Texture2D> &p_tex);