peAlignView - cWebApp

Controls padding for web views with a maximum width

Type: Property (Web Property)

Access: Read/Write

Data Type: Integer

Parameters: None

Syntax
 { WebProperty=Client }
 Property Integer peAlignView

Web Property Read Access: WebGet peAlignView to IntegerVariable
Web Property Write Access: WebSet peAlignView to IntegerVariable/Value

Read Access: Get peAlignView to IntegerVariable
Write Access: Set peAlignView to IntegerVariable/Value


Description

Once a view's maximum width (piMaxWidth) is reached, the view's width will not change and padding will be added to the right or left hand side of the view. This padding is controlled at the application level by setting peAlignView.

Valid values are:

ConstantMeaning
alignLeftView is left aligned up to maximum width, then padding is added to the right.
alignCenterView is center aligned up to maximum width, then padding is added to the left and right.
alignRightView is right aligned up to maximum width, then padding is added to the left.


About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.
See Also

WebSetResponsive