1 person found this helpful
You need to set the width and height of your group to 100%.
Also, FormItemLayout shouldn't be used directly. Use ConstraintLayout instead.
Try calling "row.initialized(this.document, "rowName");" I was having issues with ConstraintLayouts created in Actionscript and found that you have to manually initialize ConstraintRows and ConstraintColumns to get them to work.
thx to u both. It works now
But whats the argument "this.document" for?
I used it with null (row.initialized(null, "rowName");) and it works fine.
Its just a reference to the main document object, normally MXML would set it for you. I would still pass in "this.document" just to be on the safe side in case anything in the class ever needed a reference to the document object.
I have now a complex layout with many rows and columns. Is it possible to display somehow these rows/columns when running my app? This would make debugging much easier...
There is no way of displaying the actual rows or columns, they simply align the content inside them. You could manually draw grid lines using the dimensions of the rows/columns if you were so inclined.