Four Js Development Tools Forum

General => General Discussion => Topic started by: Ryan H. on April 24, 2017, 10:35:33 am



Title: GMA image alignment attribute equivalent.
Post by: Ryan H. on April 24, 2017, 10:35:33 am
Hi, Is it possible that we will have the image alignment attribute working with GMA at some point in the future? This would be a god send in terms of making responsive mobile layouts seeing as alignment works in both GDC and GBC.

In the meantime what is the recommended work around for horizontally aligning images within GMA?

I have tried a couple of methods:

- Setting 2 "padding" blank images with the STRETCH=BOTH attribute
- Setting up 2 textedits each side of the image with the STRETCH=BOTH attribute. (This method works great however the border attribute doesn't work in GMA so I end up with floating borders on the text edits which is unsightly)

Both methods some what work however they are far from perfect. I am just wondering if there is any alternative methods I can pursue.




Title: Re: GMA image alignment attribute equivalent.
Post by: Sisavanh S. on April 26, 2017, 11:36:13 am
Hi Ryan,

In 3.10 suite, "alignment" style attribute is now supported in GMA.
You have asked the same in the EAP. We can continue the discussion about 3.10 there.

As for 3.00 suite, for the alignment, I usually do:
[            :img      :             ]
[otheritem                        ]

The fields need to have the same size so img (the image) can be centered compare to the other items of the forms.

Let me know if that works for you.

Best regards,
Sisa.