Thank you for reporting this bug. We will make it our priority to review this report.
Transparent Body Background In Framed Panel
Transparent Body Background In Framed Panel
I was trying to create a framed panel with transparent background, but the moment I set the frame property true, background color becomes white. I can set the background to something else other than transparent though. Is it a bug or an intended behavior? Is there a way to achieve the same effect I described above?
Here is a fiddle to illustrate the issue. http://ift.tt/1kDRAFo
And the code below:
Code:
Ext.application({
name : 'Fiddle',
launch : function() {
Ext.create('Ext.panel.Panel', {
title: 'Hello',
html: 'Hello World!',
height: 200,
width: 300,
renderTo: Ext.getBody(),
bodyStyle: 'background: transparent; padding: 20px; font-size: 30px;',
frame: true
});
}
});
I think you should override the x-panel class with your transparent background or just use both bodyStyle and style because style works on parent node of body (x-panel).
Do you need this?
http://ift.tt/1pynXNx
(see line #11)
Thanks for the quick response and help. It did the trick. Although I think this should be consistent, hence still be considered as a bug. If there are technical reasons why it is the way it is then this behavior should be documented.
dimanche 15 juin 2014
Transparent Body Background In Framed Panel
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire