-
8 Feb 2013 10:44 PM #1
[4.2.0 beta 2] Panel "border: false" doesn't hide the body's top border
[4.2.0 beta 2] Panel "border: false" doesn't hide the body's top border
REQUIRED INFORMATION
Ext version tested:- Ext 4.2.0 beta 2
- Chrome
- IE9
- <!DOCTYPE html>
- Am I wrong to expect the body's top border hidden in the test case below according "border: false"?
- Just run the sample
- There is no the body's top border
- The body's top border appears
Code:<!DOCTYPE html> <html> <head> <title>Panel border: false</title> <link rel="stylesheet" href="../resources/css/ext-all.css" /> <style> .my-panel .x-panel-header { background-color: white; background-image: none; border: none; } /*it helps to hide the body's top border*/ /*.my-panel .x-panel-body { border: none; }*/ </style> <script src="../ext-all-debug.js"></script> <script> Ext.onReady(function () { Ext.create("Ext.panel.Panel", { renderTo: Ext.getBody(), width: 200, height: 200, title: "Title", border: false, cls: "my-panel", }); }); </script> </head> <body> </body> </html>
HELPFUL INFORMATION
Additional CSS used:- ext-all.css
- To hide the header's borders:
Code:<style> .my-panel .x-panel-header { background-color: white; background-image: none; border: none; } /*it helps to hide the body's top border*/ /*.my-panel .x-panel-body { border: none; }*/ </style>
-
11 Feb 2013 9:41 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,710
- Vote Rating
- 436
Thanks for the report! I have opened a bug in our bug tracker.
-
12 Feb 2013 7:15 AM #3
Thank you, Mitchell.
Apologize for bothering you, but these ones seem escaped away your eagle eyes.
http://www.sencha.com/forum/showthread.php?255890
http://www.sencha.com/forum/showthread.php?255370
Could you, please, take a look?
You found a bug! We've classified it as
EXTJSIV-8591
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote