Win an Ipad
  Developer   Documents   StackLayout

StackLayout

This article explainshow to define align, orientation or spacers for rendering objects.

StackLayout

Defines rendering attributes,  such  as align, orientation  and spacer. It allows to set margins of rendered element by using  setMargin method with parameters left, right, top and bottom.

 

Example of Stacklayout - it defines element layout with vertical orientation and align stretched to both sides:

 

var layout = new Moscrif.StackLayout(); layout.orientation = #vert;
layout.align = #stretch;
layout.pack = #start;

 Vector graphics   StackLayout   Shader 
Write a Comment (0)
Subject
 
Comment