Handle text overflow in (multi)line edits when unable to word-wrap

Use drawtextwidth to add elipsis when appropriate, instead of overflowing out of the GUI element when a single word is larger than the element itself (so it can't be word-wrapped to the next line)