This content has been marked as final. Show 7 replies
I think the direction field for the formitem is set to vertical.
In the formItem set direction to horizontal and this will solve your problem...
I tried I dint get it!!
If I give direction also its aligning one below the other :(
If possible send me code of that!!
do you have any style sheets attached to your mxml file..
may be some of the declarations in your css file are troubling you..
check it out..
When you create a form,
Drag the form on to the editor window.
then drag a label into the form which gives you 2 labels,
delete the right most one and you will be left with one.
If you see the code you can see formitem created
Now drag a textinput into the label you already dragged, when u drag it u get a blue indicator line to position your textinput. Dont position it when indicator line is above or below the label you have added. Position it when you get blue indicator line in line with the already added label.
And for your information here the code of a simple form:
You can see in the above code for the form item label="Refresh Rate" I have given direction horizontal so that all the containers within that formitem are positioned horizontally..so label, numeri stepper and another label come in a single line aligned horizontally...
Hope this solves your issue
Actually I wanted like as below...
Login Name: Text Input Password: Text Input
I want Login Name and Password in the same line...Both should be side by side..
Hope u got my question!!
i didn't get u well in my previous reply.
I think you cant do that in a form but there is a way to tacklet it. Try this out...
Do not give the form tags and u can use the fields from the id's give to the text input fields
In case you have an issue reply back
Actually I am using like this only without form tags...But I thought we have to use form tags form form items so I raised a question in forum...
Thanks for the information...
Thanks and Regards