Difference between revisions of "Ads:setAlignment"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2014.01<br/>
 
'''Available since:''' Gideros 2014.01<br/>
 
=== Description ===
 
=== Description ===
Sets alignment of the ad
+
<translate>Sets alignment of the ad
 
First value is for the horizontal alignment and can have values as "left", "center", "right"
 
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"
+
Second value is for the vertical alignment and can have values as "top", "center", "bottom"</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Ads:setAlignment(horizontal,vertical)
 
  Ads:setAlignment(horizontal,vertical)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''horizontal''': (strong) horizontal alignment <br/>
+
'''horizontal''': (strong) <translate>horizontal alignment</translate> <br/>
'''vertical''': (string) vertical alignment <br/>
+
'''vertical''': (string) <translate>vertical alignment</translate> <br/>

Revision as of 14:38, 23 August 2018

Available since: Gideros 2014.01

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