PDA

View Full Version : Paste a panel in desktop



iNes14
4 Nov 2011, 1:23 AM
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 :

29024

Thank you

mitchellsimoens
4 Nov 2011, 6:46 AM
Create a Window or a floating Panel...


Ext.create('Ext.panel.Panel', {
floating : true,
/* ... */
});

iNes14
4 Nov 2011, 6:54 AM
Ok, but I'm lost in the code of classes.js. Where do I put this code ?

Thank you

koko2589
4 Nov 2011, 2:24 PM
put in desktop html
demo
http://e-mytools.com/ext-test/ext-test-panel-border.html


<div id="container1" style="margin: 40px" ></div>

iNes14
7 Nov 2011, 1:28 AM
It doesn't work. I think I have to put code in classes.js here :



Ext.define("Ext.ux.desktop.Wallpaper",{extend:"Ext.Component",alias:"widget.wallpaper",cls:"ux-wallpaper"...


but I'm still looking for.