tudo-aqua / bgw

BoardGameWork
https://tudo-aqua.github.io/bgw/
Apache License 2.0
24 stars 16 forks source link

TextField prompt does not work in Version 0.9 #405

Closed alexkleyn closed 8 months ago

alexkleyn commented 8 months ago

When using a textField in Version 0.9 of BGW with the "prompt" property, no prompt is shown.

Steps to reproduce the behavior: Example TextField:

private val nameInput: TextField = TextField(
        width = 350, height = 50,
        posX = 350, posY = 500,
        prompt = "Enter Name"
)

I added this TextField into a MenuScene. In Version 0.9 of BGW no prompt is shown when the textField is empty. Reverting to Version 0.8.1 makes the prompt appear.