Manu
Manu

Reputation: 819

Text size selected in combo

As we can see on lots of web site : we can increase or decrease size of font. Like on this example : http://blog.creonfx.com/examples/javascript/dynamic-font-resize.html

Is this possible in GWT ? So could I change general (= all widgets) font size dynamically by choosing a size in a combo (1, 2, 3) like on the image ?

enter image description here

Upvotes: 0

Views: 91

Answers (1)

Alain BUFERNE
Alain BUFERNE

Reputation: 2061

Depending of the widget, for example the ones which have a content property which could be set with Html should be feasible I think.... If you can get a reference to the DOM element you want to change you would probably be able to change the style via some specific javascript. But in any case I don't think there is a direct way of doing it and on any widget. You can have a look to this thread also which indicate this fact.

Upvotes: 1

Related Questions