10-05-2010 04:04 PM
I have added the banner just on the top of the page - and I am using/testing on a Storm2 - I notice two things:
1) the field/banner is not using the complete screen width [especially in landscape mode]
2) the field/banner is not centered and I do not see any way in the banner constructor to pass any long values to make use of FIELD constances
Even if for the moment I do not gat anyhow any add content (which will for sure aprear quite soon - I am confident about that) I can see from the "fade in" section, that not the complete screen width will be used.
Any suggestions to center the banner display somehow?
Solved! Go to Solution.
10-07-2010 07:50 PM
The sizes are not auto expanding so it's not going to fill the width, the sizes are listed in the docs
Check the docs
there's info on centering
10-08-2010 05:27 PM
Try using this code to center it in your screen
VerticalFieldManager containerVfm = new VerticalFieldManager(VerticalFieldManager.NO_VERTI
HorizontalFieldManager containerHfm = new HorizontalFieldManager(HorizontalFieldManager.FIEL
Banner banner = new Banner(placement_id, null);