With GXT 3.0, I failed to change the font size of a simple label:
Label title = new Label("Hello world");
title.getElement().setAttribute("font-size", "50px");
RootPanel.get().add(title);
Don't find anything in the doc!
I know this answer is really late but there is a chance that someone else will have similar problem. So I found a solution like this:
title.setStyleAttribute("font-size", "30px");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.