raylibtech / rtools

rtools feedback and issues
17 stars 1 forks source link

[rGuiLayout] ValueBox's text field can't be edited in rGuiLayout #15

Closed Andidy closed 2 years ago

Andidy commented 2 years ago

The label for ValueBox is exported by rGuiLayout. However, in rGuiLayout it cannot be edited. It would be nice if this was added since the text label goes outside of the part of the control visible in rGuiLayout and so proper layout cannot be accomplished if a text label for the ValueBox is desired.

Here's the layout in rGuiLayout, where the text in the ValueBox can't be edited: image Manually adding text to the ValueBox in the generated code then causes the control to be positioned poorly because the text length can't be seen in rGuiLayout: image

raysan5 commented 2 years ago

@Andidy I take note on this one.

raysan5 commented 2 years ago

Reviewed.