How to set label width for fieldgroup

I have a multi-column fieldgroup and both columns are set to flex=1 (see XML below). The labels for the fields have a different size in the first column than in the second column due to the label length. How can I set the label width for each column?

<fieldGroup id="fieldGroup" datasource="Ds" width="100%">
	<column flex="1" width="100%">
		<field id="firstName" width="100%"/>
		<field id="phone" width="100%"/>
	<column flex="1" width="100%">
		<field id="lastName" width="100%"/>
		<field id="company" width="100%"/>

Regards, Edwin.

Sorry. Found the answer. I overlooked the fieldCaptionWidth of the fieldgroup.

1 Like