PDA

View Full Version : Render problem in Ext Js 3.0



davidbuzatto
7 Jul 2009, 4:07 AM
Hello everybody,

Im just upgrade my project from version 2.2.1 to 3.0.0 of Ext Js and the transparency of the title bar and borders in my Window container disappear.

Do I need to include extra configuration on my html file?

Thank you very much.

Condor
7 Jul 2009, 4:15 AM
Did you also upgrade the stylesheet and images?
Did you clear your browser cache?

ps. And don't include ux-all.js.

davidbuzatto
7 Jul 2009, 4:27 AM
Hi Condor,

Did you also upgrade the stylesheet and images?
Yes

Did you clear your browser cache?
Yes

For styles, Im using resources/css/ext-all.css

And the problem continues.

davidbuzatto
26 Aug 2009, 12:32 PM
Hello everybody.

Im here to report this problem again.
The Window component is not being rendered properly in Ext JS 3.0.
While in 2.x versions the borders and title bar are rendered in a transparent way (with some light effects), in the 3.x version these parts are rendered as a flat surface as is showed in the attached image.

I tried to realize the problem, and its seems to be a lack of configuration in some css classes.

In 2.x version the classes are:


x-window-tc{
background:transparent url(../images/default/window/top-bottom.png) repeat-x 0 0;
overflow:hidden;
zoom:1;
}
.x-window-tl{
background:transparent url(../images/default/window/left-corners.png) no-repeat 0 0;
padding-left:6px;
zoom:1;
z-index:1;
position:relative;
}While in 3.x version the classes are

.x-window-tc {
background: transparent repeat-x 0 0;
overflow:hidden;
zoom:1;
}

.x-window-tl {
background: transparent no-repeat 0 0;
padding-left:6px;
zoom:1;
z-index:1;
position:relative;
}As can be noticed, in 3.x version the url to the images are not present. It's important to note that there are more classes than these two that I said.

I tried to put the urls in 3.x classes, but it didn't work properly.

Well, I hope I could help now.

Regards

David

davidbuzatto
26 Aug 2009, 12:50 PM
It's a image problem!

The images of 2.x and 3.x are different!

Why????