Sometimes you need to display a label in a form. Sadly there does not seem to be a documented way to do this.
Good news though! This can be done!
<Field name="myField" readOnly="true" type="string" displayName="This is a warning message.">
<Attributes>
<Map>
<entry key="xtype" value="label"/>
</Map>
</Attributes>
</Field>