1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    25
    Vote Rating
    0
    geovannefarell is on a distinguished road

      0  

    Default ViewPort

    ViewPort


    how to insert picture in viewport , like backround picture??

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Nov 2010
    Posts
    209
    Vote Rating
    -2
    Ersmarker has a little shameless behaviour in the past

      0  

    Default


    You can set a background picture using css.

    Code:
    java:
       Viewport vp = new Viewport();
       vp.addStyleName("myBackground");
    
    css:
    
    .myBackground {
        background-image: url("picture.png");     
    }

Thread Participants: 1

Tags for this Thread