SFML community forums
Help => General => Topic started by: Flaze07 on September 03, 2017, 06:11:44 pm
-
hi, is there such a thing as multi line text field (box) like JTextArea in either sfgui or tgui ?
also, if there is none...how to make one ?
-
Did you check the documentation for SFGUI or TGUI?
-
I certainly did, and I could not find anything related to multi line text box i TGUI
-
I personally would expect a bit more flexibility from a programmer.
https://tgui.eu/documentation/0.8/classtgui_1_1TextBox.html#details
Text box widget.
A text box is a multi-line input box which supports word-wrap and a vertical scrollbar. If you are looking for a single line input field (with options like setting a password character or displaying a default text when it is empty) then check out the EditBox class
-
oops, maybe I should have read the definition of each widget instead of just reading the name, my bad
-
The name is 'okay'. In quite a few GUI libraries the 'entry' or 'edit' or 'edit box' is a one liner widget and 'text box', 'text edit' or 'memo' or 'text area' are multi line editors.