PDA

View Full Version : ViewPort



geovannefarell
22 Jan 2012, 9:02 PM
how to insert picture in viewport , like backround picture??

Ersmarker
1 Feb 2012, 3:09 AM
You can set a background picture using css.



java:
Viewport vp = new Viewport();
vp.addStyleName("myBackground");

css:

.myBackground {
background-image: url("picture.png");
}