Results 1 to 5 of 5

Thread: Paste a panel in desktop

  1. #1
    Sencha User
    Join Date
    Oct 2011
    Location
    Metz, France
    Posts
    60
    Vote Rating
    2
      0  

    Default Paste a panel in desktop

    Hello !

    Can someone tell me how I can paste a simple panel in desktop. So I have my wallpaper but above this, I want to show a simple panel.

    Like this :

    example.jpg

    Thank you

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Create a Window or a floating Panel...

    Code:
    Ext.create('Ext.panel.Panel', {
        floating : true,
        /* ... */
    });
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Location
    Metz, France
    Posts
    60
    Vote Rating
    2
      0  

    Default

    Ok, but I'm lost in the code of classes.js. Where do I put this code ?

    Thank you

  4. #4
    Sencha User
    Join Date
    Mar 2009
    Posts
    356
    Answers
    1
    Vote Rating
    0
      0  

    Default

    put in desktop html
    demo
    http://e-mytools.com/ext-test/ext-te...el-border.html

    Code:
    <div id="container1" style="margin: 40px" ></div>
    my ext js site
    http://www.itoto4.com/

  5. #5
    Sencha User
    Join Date
    Oct 2011
    Location
    Metz, France
    Posts
    60
    Vote Rating
    2
      0  

    Default

    It doesn't work. I think I have to put code in classes.js here :

    Code:
    Ext.define("Ext.ux.desktop.Wallpaper",{extend:"Ext.Component",alias:"widget.wallpaper",cls:"ux-wallpaper"...
    but I'm still looking for.
    Last edited by iNes14; 7 Nov 2011 at 6:26 AM. Reason: More tests done and doesn't work

Posting Permissions

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