Difference between revisions of "Ads:setAlignment"

From GiderosMobile
Line 13: Line 13:
 
'''horizontal''': (strong) <translate>horizontal alignment</translate> <br/>
 
'''horizontal''': (strong) <translate>horizontal alignment</translate> <br/>
 
'''vertical''': (string) <translate>vertical alignment</translate> <br/>
 
'''vertical''': (string) <translate>vertical alignment</translate> <br/>
 +
 +
{{Ads}}

Revision as of 06:22, 4 December 2019


Available since: Gideros 2014.01
Class: Ads

Description

Sets alignment of the ad First value is for the horizontal alignment and can have values as "left", "center", "right" Second value is for the vertical alignment and can have values as "top", "center", "bottom"

 Ads:setAlignment(horizontal,vertical)

Parameters

horizontal: (strong) horizontal alignment
vertical: (string) vertical alignment