As a side option you could just throw out the form and use regular layout.
<s:HGroup>
<s:Label text="Password" />
<s:TextInput id="password1" width="180" height="25"
displayAsPassword="true" prompt="new password"
text="{editableUser.pw1}" change="{editableUser.pw1 =
password1.text}"/>
</s:HGroup>
<s:HGroup>
<s:Label text="Reset" />
<s:TextInput id="password2" width="180" height="25" change="checkUserId()"
prompt="repeat password"
displayAsPassword="true"/>
</s:HGroup>
-Mark
-----Original Message-----
From: scott matheson [mailto:[email protected]]
Sent: Wednesday, September 07, 2016 4:34 PM
To: <[email protected]>
Subject: [Non-DoD Source] form layout
Hi
i am developing a web app,i want the labels for the filed to be on 2 lines
ie
Password XXXXXXXXX
Reset XXXXXXXXX
with the formitem i can get the fields close together,. but how do i get the
labels onto 2 lines
this code work, however the text is on 1 line
<s:FormItem label="Password reset" >
<s:TextInput id="password1" width="180" height="25" displayAsPassword="true"
prompt="new password"
text="{editableUser.pw1}" change="{editableUser.pw1 =
password1.text}"/>
<s:HGroup>
<s:TextInput id="password2" width="180" height="25"
change="checkUserId()"
prompt="repeat password"
displayAsPassword="true"/>
</s:HGroup>
</s:FormItem>