PDA

View Full Version : Portal example, dotted border.



xjpmauricio
10 Mar 2011, 4:02 AM
Hi, in the portal example (http://dev.sencha.com/deploy/dev/examples/portal/portal.html), wich
component is responsable for setting the dotted border around the object being dragged over?
25065

Is this extjs native? If so, how can i invoke this?

Thanks.

aramaki
11 Mar 2011, 3:50 AM
it`s native for panel drop zone, as I remember

xjpmauricio
11 Mar 2011, 3:51 AM
Hi, is there a way i can override the css on this component?

aramaki
14 Mar 2011, 11:22 PM
I`m not able to check it soon, but as I remember you need to override
.x-panel-ghost and .x-panel-dd-spacer css classes
have a time to investigate ext-all.css /* Ghosting */ region of code especially classes, described above, and then override needed classes

xjpmauricio
15 Mar 2011, 6:55 AM
Thanks a lot, looking at ext-all.css, i can now override the following css class:
.x-panel-dd-spacer {
border:2px dashed #c9c9c9;
}

...wich basically sets the dotted border on mouseover a drop target.