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.
我正在使用 GWT 2.1。我有一个TextArea用于预览文档的文件,我不希望行太长而无法换行 - 我希望出现一个水平滚动条。
TextArea
我找不到 setWrap 方法TextArea- 我该如何实现?
textArea.getElement().setAttribute("wrap", "off");