Page 1 of 1

Add some textfield attributes to text-box

Posted: Wed Jul 17, 2019 5:30 pm
by Therenas
Version 0.17.57 added several new attributes to textfields (numeric, allow_decimal, etc), which are awesome.
I think two of them (lose_focus_on_confirm, clear_and_focus_on_right_click) should also be able to be set on text-boxes. This is currently not allowed.

The others would not make much sense on text-boxes I think, but those two could be of use. One use case for clear_and_focus_on_right_click for example could be to replace everything in a text-box with something new, just like you would on a textfield.

Edit: Just realised that 'lose_focus_on_confirm' would not make much sense without this request being implemented, so it depends on how that goes.

Re: Add some textfield attributes to text-box

Posted: Thu Jul 18, 2019 12:59 pm
by Rseding91
Ok, I added clear_and_focus_on_right_click to text-box for the next version of 0.17. The on-confirm makes no sense because you can't confirm a text-box due to enter being "add newline".