• DTextEntry, setting a maximum number of line breaks
    2 replies, posted
So, the default behavior of a DTextEntry is to just extend forever as you press the enter key to create new lines. I want my dtextentry to actually stop accepting text when it reaches its own bottom boundary. I don't think this requires any code be posted, as it's not really a 'bug' I just need ideas. Keep in mind what I am NOT looking for is a character limit- I've already got that, and the problem is that newlines mess the whole system up because they aren't counted as characters. (A hacky workaround I tried involved converting newlines to characters, but surely there is a more 'clean' way to do this). Thanks Sheeplie
You can SetMultiline(true) to enter newlines
Yes, unfortunately too many newlines is the problem for me. I may just do it how I've seen in other gamemodes, allow infinite bounds and infinite text but only allow them to 'submit' under a certain character limit.
Sorry, you need to Log In to post a reply to this thread.