PDA

View Full Version : styling hbox



Stephan123
19 Nov 2009, 6:39 AM
Hello !

I have a panel with 2 hbox.
Now i will style the inner of the hbox's.
I can't find a style command for this boxes.



xtype : "panel",
title : "Formular",
id: 'abschnitt2',
layout: 'hbox',
padding: '5',
disabled: true,
defaults: {
style: 'padding: 5px;'
},
items: [{
title: 'linke Spalte',
html: 'linke Spalte',
id: 'spalte1',
flex: 1.5,
style: 'padding: 5px;'
},{
title: 'rechte Spalte',
html: 'rechte Spalte',
id: 'spalte2',
flex: 1
}]

How has an tip ?

Your sincerly

Stephan

Animal
19 Nov 2009, 6:42 AM
Use CSS?