mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Updated tutorial_custom_controls (markdown)
parent
9fb3ada9b8
commit
f974be521b
@ -36,6 +36,12 @@ To provide this callback, just override [Control.get_minimum_size()](class_contr
|
||||
func get_minimum_size():
|
||||
return Vector2(30,30)
|
||||
```
|
||||
Or alternatively, set it via function:
|
||||
|
||||
```python
|
||||
func _ready():
|
||||
set_custom_minimum_size( Vector2(30,30) )
|
||||
```
|
||||
|
||||
## Input
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user