User Tools

Site Tools


getting_started:tut1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

getting_started:tut1 [2021/05/07 14:49]
al4he6 created
getting_started:tut1 [2021/08/11 16:49] (current)
al4he6 Added note about pixels
Line 24: Line 24:
 <code> <code>
 txt.SetMargins(0.2,0,0,0); txt.SetMargins(0.2,0,0,0);
 +</code>
 +Or you can specify sizes in pixels, for example a margin on the left of 20 pixels
 +<code>
 +txt.SetMargins(20,0,0,0,"px");
 </code> </code>
 There are many other possibilities (setting widths and heights, padding, layouts within layouts).\\ There are many other possibilities (setting widths and heights, padding, layouts within layouts).\\
 See the documentation of Layouts and Controls. See the documentation of Layouts and Controls.
  
getting_started/tut1.1620398967.txt.gz ยท Last modified: 2021/05/07 14:49 by al4he6