PDA

View Full Version : [UNKNOWN][3.0rc3] TabStrip background does not scale well - needs to be larger



jay@moduscreate.com
1 Jul 2009, 12:46 PM
http://tdg-i.com/img/screencasts/2009-07-01_1645.png

<style type="text/css">
.tabCls {
height: 32px !important;
}
.tabFontSize20 {
font-size: 20px;
}
.tabFontSize16 {
font-size: 20px;
}
.tabTextColorBlue {
color: #0000FF !important;
}

.tabTextColorRed {
color: #FF0000 !important;
}
.tabTextColorGreen {
color: #00FF00 !important;
}


</style>
<script type="text/javascript">
Ext.onReady(function() {

var t = {
xtype : 'tabpanel',
minTabWidth : 100,
resizeTabs : true,
defaults : {
tabCls : 'tabCls'
},
items : [
{
title : '<span class="tabFontSize20 tabTextColorRed">Tab 1</span>'
},
{
title : '<span class="tabFontSize20 tabTextColorBlue">Tab 2</span>'
},
{
title : '<span class="tabFontSize20 tabTextColorGreen">Tab 2</span>'
}
]
}

new Ext.Window({
border : false,
layout : 'fit',
closable : false,
items : t,
height : 200,
width : 500



}).show();
});


</script>