Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有多行的文本框,并且 textwrap 设置为 Wrap。我的要求是有一个文本框,无论如何都要在每行的第 76 个字符处完全换行。为了实现这一点,我将文本框的宽度设置为 76 个字符。但是当整个单词接近行尾并且该单词跳到下一行时,它就会中断。我不希望这种情况发生。我如何解决它?