Results 1 to 2 of 2

Thread: ViewPort

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    25
    Vote Rating
    0
      0  

    Default ViewPort

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

  2. #2
    Sencha User
    Join Date
    Nov 2010
    Posts
    209
    Vote Rating
    -2
      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");     
    }

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •