PDA

View Full Version : [CLOSED]Different collapsed look in Chrome and Firefox



saprot
26 Feb 2011, 1:44 AM
Font on collapsed panel looks different on Firefox and diffent in Chrome. Firefox way looks better :)

chrome:
24879

firefox:
24880

Animal
26 Feb 2011, 8:58 AM
What version of Chrome? The styles are copied from the header text using the Ext.util.CSS class and copied into the attributes of the Ext.draw rotated text Component.

This works in Chrome 11 for me.

saprot
26 Feb 2011, 9:02 AM
Google Chrome 9.0.597.98 32 bit, Ubuntu 10.10 (latest stable build).

Border layout example on http://dev.sencha.com/deploy/ext-4.0-pr2/examples/layout/border.html looks OK both in Firefox and Chrome, but the same example opened locally after downloading Ext 4.0 PR 2 looks like in the first post. Strange

Animal
26 Feb 2011, 3:41 PM
You mean when opened from disk, not HTTP?

Could be some strange security thing with gaining access to the CSS rules to copy the style to the Draw Component.

saprot
28 Feb 2011, 12:16 AM
Yes, it happens when opened from disk.

I tried on 3 computers, end it happens everywhere, so it's not only an issue of my machine. However, all of them are Ubuntu (10.04 and 10.10), so maybe that's the problem.

evant
1 Mar 2011, 2:19 AM
I can't confirm this on Ubuntu, I think the problem is on your side.