フォームとフィールドセットで非常に長いタイトルをラップするにはどうすればよいですか?
Sencha のドキュメントからこのコードを取得し、単純に長いタイトルを追加し、幅を追加しました。残念ながら、タイトルは省略記号で切り捨てられています。
外観は次のとおりです。
これが変更された Sencha ソースです: ( http://docs.sencha.com/touch/2.2.1/#!/api/Ext.form.FieldSet )
Ext.create('Ext.form.Panel', {
fullscreen: true,
items: [
{
xtype: 'fieldset',
title: 'How much wood would a woodchuck chuck if a woodchuck could chuck wood?',
width: 300,
instructions: 'Tell us all about yourself',
items: [
{
xtype: 'textfield',
name : 'firstName',
label: 'First Name'
},
{
xtype: 'textfield',
name : 'lastName',
label: 'Last Name'
}
]
}
]
});