Use html can easily accomplish this:
titleHow to do it with Ext.form.FieldSet? Thanks for any idea.
Use html can easily accomplish this:
titleHow to do it with Ext.form.FieldSet? Thanks for any idea.
Look at the CSS classes such as x-fieldset-header, it's probably left padded or somesuch and you should be able to override this.
I'm not sure if you can easily center the text since you don't have access to add an attribute to the tag. Adding text-align:center;
to the CSS does not seem to work. You can approximate centering it if your fieldset is fixed-width by giving the legend a left margin:
.x-fieldset legend {
margin-left: 80px;
}