PDA

View Full Version : [CLOSED] Ext.panel.Panel.border CSS format doesn't work



PN Daniel
5 Aug 2011, 4:33 AM
REQUIRED INFORMATION Ext version tested:

Ext 4.0.2a

Browser versions tested against:

FF5 (firebug 1.8.0 installed)

Description:

The "border" config CSS format "a b c d" doesn't work (same effect as border: 1)

Steps to reproduce the problem:

Go to any page with Ext loaded, execute this code:
Ext.create('Ext.panel.Panel', {
renderTo: Ext.getBody(),
title: 'Test',
border: '10 20 30 40'
});

The result that was expected:

A panel showing up with a border that is 10 pixels width top, 20 px right, 30 px bot and 40 px left

The result that occurs instead:

A panel showed up with a border of 1px each.

Test Case:
Ext.create('Ext.panel.Panel', {
renderTo: Ext.getBody(),
title: 'Test',
border: '10 20 30 40'
}); HELPFUL INFORMATION Screenshot or Video:

none

See this URL for live test case: http:// Debugging already done:

none

Possible fix:

not provided

Additional CSS used:

only default ext-all.css

Operating System:

Win 7 prof 64bit

tonyx
9 Oct 2011, 7:58 AM
I can confirm this bug.

evant
9 Oct 2011, 8:26 PM
Dupe of http://www.sencha.com/forum/showthread.php?132000-4.0.0-Border-Management