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.
我需要为包含网格的 FieldSet 创建一条信息消息。我正在使用以下方式设置消息:
Status status = new Status(); status.setText("You can choose max 40 persons"); status.addStyleName("x-form-info-tip");
但是在输出中,文本看起来非常大,那么如何更改此状态消息的文本大小?
先感谢您。
尝试
status.setAttribute("字体大小","45px");