Difference between revisions of "Ads:setAlignment"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2014.01<br/>
 
'''<translate>Available since</translate>:''' Gideros 2014.01<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/Ads|Ads]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Sets alignment of the ad
 
<translate>Sets alignment of the ad

Revision as of 09:28, 24 August 2018

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