Post

Extjs4.2 Text Element With Custom HTML Height.

The height of outside container won’t work,
the only solution is to specify the height of the labe which is in the same row.

1
2
3
4
5
6
{xtype: 'container', layout: 'vbox', margin: '5 0 5 0', height: 120,
	iteVms: [
		{xtype: 'label', id: 'next_month_label', margin: '0 5 0 20', height: '23px'},
		{xtype: 'text', html: '<div id="nextMonthUnscheduled" class="nextMonthChart"></div>', baseCls: '', margin: '0 5 0 20'}
	]
}
This post is licensed under CC BY 4.0 by the author.