Sets the size of the cursor of a Text.
The cursor will only be visible if the cursor_visible property is set to true.
true
a Text
the size of the cursor, in pixels, or -1 to use the default value