nanogui
nanogui copied to clipboard
how do I achieve multi line for text lable?
For example I have a really long email to display but the with of lable is fixed. Right now I am cutting the content based on the numbers of character. But I would like it to display full on the second line.
I think it does not support multiple lines.
@binhpht yeah. I am trying to customize the libsrc to achieve that. Currently thinking about something like calculating the current text length then take the extra part to draw on another line. But I can't seem to get the correct length of the the text string. Checked that it was also scaled on the resolution of screen. So the information in Label::draw() is not enough