Revert custom_minimum_size type back to Vector2 instead of Vector2i
This commit is contained in:
parent
62792eeb9f
commit
c3970f8fe5
3 changed files with 7 additions and 7 deletions
|
|
@ -200,7 +200,7 @@ private:
|
|||
int h_size_flags = SIZE_FILL;
|
||||
int v_size_flags = SIZE_FILL;
|
||||
real_t expand = 1.0;
|
||||
Point2i custom_minimum_size;
|
||||
Point2 custom_minimum_size;
|
||||
|
||||
// Input events and rendering.
|
||||
|
||||
|
|
@ -460,8 +460,8 @@ public:
|
|||
virtual Size2 get_minimum_size() const;
|
||||
virtual Size2 get_combined_minimum_size() const;
|
||||
|
||||
void set_custom_minimum_size(const Size2i &p_custom);
|
||||
Size2i get_custom_minimum_size() const;
|
||||
void set_custom_minimum_size(const Size2 &p_custom);
|
||||
Size2 get_custom_minimum_size() const;
|
||||
|
||||
// Container sizing.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue