Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java @ 81:1d0fb625248d
Replaced next button image with smart gwt button.
flys-client/trunk@1588 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 28 Mar 2011 13:24:13 +0000 |
parents | f793d35bfb08 |
children | 4784ca718476 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java Mon Mar 28 11:59:00 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java Mon Mar 28 13:24:13 2011 +0000 @@ -9,6 +9,7 @@ import com.smartgwt.client.widgets.Img; import com.smartgwt.client.widgets.events.ClickEvent; import com.smartgwt.client.widgets.events.ClickHandler; +import com.smartgwt.client.widgets.Button; import de.intevation.flys.client.client.FLYSMessages; import de.intevation.flys.client.client.event.HasStepBackHandlers; @@ -121,10 +122,10 @@ * @return the 'next' button. */ protected Canvas getNextButton() { - Img go = new Img(MSG.imageNext(), 80, 25); - go.addClickHandler(this); + Button next = new Button(MSG.buttonNext()); + next.addClickHandler(this); - return go; + return next; }