Difference between revisions of "LGUI2:LS1:lgui2border"

From Lavish Software Wiki
Jump to navigation Jump to search
(Created page with "{{ObjectType-Vitals|lgui2border|LavishGUI 2|lgui2bordered|lgui2border|none|no|void *}} A lgui2border object provides access to a LGUI2:borde...")
 
Line 2: Line 2:
  
 
A lgui2border object provides access to a [[LGUI2:border|border]] element, and inherits from [[LGUI2:LS1:lgui2bordered|lgui2bordered]].  
 
A lgui2border object provides access to a [[LGUI2:border|border]] element, and inherits from [[LGUI2:LS1:lgui2bordered|lgui2bordered]].  
 
lgui2border does not provide any additional Members or Methods.
 
  
 
== Members ==
 
== Members ==
* none
+
* ... Child: The one and only Child element contained by the border
 +
* [[LGUI2:LS1:elgui2horizontalalignment|elgui2horizontalalignment]] '''HorizontalContentAlignment''': Horizontal alignment to apply to the Child element
 +
* [[LGUI2:LS1:elgui2verticalalignment|elgui2verticalalignment]] '''VerticalContentAlignment''': Vertical alignment to apply to the Child element
  
 
== Methods ==
 
== Methods ==
* none
+
* '''SetChild['''json''']''':
 +
* '''SetHorizontalContentAlignment['''[[LGUI2:LS1:elgui2horizontalalignment|elgui2horizontalalignment]]''']''': New horizontal alignment to apply to the Child element
 +
* '''SetVerticalContentAlignment['''[[LGUI2:LS1:elgui2verticalalignment|elgui2verticalalignment]]''']''': New vertical alignment to apply to the Child element
  
 
== Examples ==
 
== Examples ==

Revision as of 13:57, 1 September 2019

Object Type Vitals
lgui2border
Defined By LavishGUI 2
Inherits lgui2bordered
Reduces To lgui2border
Variable Object Type none
Uses Sub-Types no
C/C++ Type void *

A lgui2border object provides access to a border element, and inherits from lgui2bordered.

Members

  • ... Child: The one and only Child element contained by the border
  • elgui2horizontalalignment HorizontalContentAlignment: Horizontal alignment to apply to the Child element
  • elgui2verticalalignment VerticalContentAlignment: Vertical alignment to apply to the Child element

Methods

Examples

LavishGUI 2 Element Types

LavishGUI 2 LavishScript Object Types

Core API (see Using LavishGUI 2 from LavishScript)
lgui2 - lgui2animateargs - lgui2animationtype - lgui2elementref - lgui2eventargs - lgui2eventhandler - lgui2elementtype - lgui2itemviewgeneratorargs - lgui2inputbinding - lgui2layer - lgui2skin - lgui2trigger
Enums
elgui2animationframestate - elgui2dpad - elgui2edge - elgui2fontflags - elgui2horizontalalignment - elgui2imageorientation - elgui2progresstext - elgui2scrollbar - elgui2sizetocontent - elgui2verticalignment - elgui2visibility
Element Components
lgui2animation - lgui2brush - lgui2fontstyle - lgui2margins - lgui2item - lgui2property - lgui2radialitem - lgui2radialgaugeneedle
Element Base Types
lgui2element - lgui2bordered - lgui2contentbase - lgui2headeredcontentbase - lgui2itemlist
Elements