-
17 Dec 2009 2:31 PM #1
[FIXED-430][3.??] Ext.TabPanel active bottom tab css failure
[FIXED-430][3.??] Ext.TabPanel active bottom tab css failure
Ext version tested:
- Ext 3.1
Adapter used:- ext
css used:- only default ext-all.css
Browser versions tested against:- IE8
- FF3.5.5 (firebug 1.4.5 installed)
- Adobe Air 2.0beta
Operating System:- Win7 Pro
Description:- Seems that the active bottom tab in an Ext.TabPanel has a css failure in Ext3.1. Background-positions were "swapped" and a margin-right of 3px is missed.
Test Case:
Steps to reproduce the problem:Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title></title> <script language="JavaScript" type="text/javascript" src="../adapter/ext/ext-base.js"></script> <script language="JavaScript" type="text/javascript" src="../ext-all.js"></script> <link rel="stylesheet" type="text/css" href="../resources/css/ext-all.css" /> </head> <body> <script language="JavaScript" type="text/javascript"> Ext.onReady(function() { var tp = new Ext.TabPanel({ width: 500, height: 200, title: 'TabPanel', items: [{ title: 'Test1', html: 'test1' },{ title: 'Test2', html: 'test2' }], activeItem: 0, tabPosition: 'bottom' }); tp.render('tabPanel'); }); </script> <div id="tabPanel" style="position:absolute;left:50px;top:50px"></div> </body> </html>- Copy this code in a html file and save it to the examples folder. Run it in your browser.
The result that was expected:
The result that occurs instead:
Screenshot or Video:- attached
Possible fix:
Code:.x-tab-strip-bottom .x-tab-strip-active .x-tab-right { background: no-repeat bottom right; } .x-tab-strip-bottom .x-tab-strip-active .x-tab-left { background: no-repeat bottom left; margin-right: 3px; }Programming today is a race between software engineers striving to build bigger and better іdiot-proof programs, and the universe striving to produce bigger and better idiots. So far, the universe is winning. (Rick Cook)
Enhanced ExtJS adapter for Adobe AIR
-
25 Dec 2009 2:02 AM #2
-
25 Dec 2009 2:57 AM #3
The images are right and don't have to be changed. As I understand it, ext-all.css is generated from separate css files from "resources/css/structure" and "resources/css/visual". The structure stuff is wrong here...
Programming today is a race between software engineers striving to build bigger and better іdiot-proof programs, and the universe striving to produce bigger and better idiots. So far, the universe is winning. (Rick Cook)
Enhanced ExtJS adapter for Adobe AIR
-
25 Dec 2009 3:21 AM #4
Oh, you might have a point; my solution is just a quick fix to include right after the ext-all.css of the current release.
-
18 Jan 2010 11:21 AM #5
Fixed in SVN #5907. This will be released with Ext JS 3.1.1.
Thanks!
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote