!--a11y-->
Web Dynpro FlowLayout API -
IWDFlowLayout 
In Web Dynpro, a flow layout is a container layout that arranges the UI elements on the screen from left to right in a flow and wraps UI elements, if necessary.

UI elements within a flow layout are automatically wrapped if the horizontal screen space is too small for the display in one line.
·
defaultPaddingBottom
Specifies the padding to the bottom edge of the flow layout.
·
defaultPaddingLeft
Specifies the padding to the left edge of the flow layout.
·
defaultPaddingRight
Specifies the padding to the right edge of the flow layout.
·
defaultPaddingTop
Specifies the padding to the top edge of the flow layout.
·
wrapping
Specifies whether or not the UI elements can be wrapped.
If the value of this property is false, the UI elements are not wrappred. If the space is
too small, UI elements are not displayed in one line but truncated on the
right.

The values of the FlowLayout properties can be overwritten if you define a specific alignment for each UI element using the FlowData object.
The following diagram shows how the FlowData property paddingTop works if values of the FlowLayout property defaultPaddingTop are already defined:

Name |
Interface |
Type |
Initial Value |
Bindable |
Value Required |
defaultPaddingBottom |
IWDFlowLayout |
String |
|
not_bindable |
No |
defaultPaddingLeft |
IWDFlowLayout |
String |
|
not_bindable |
No |
defaultPaddingRight |
IWDFlowLayout |
String |
|
not_bindable |
No |
defaultPaddingTop |
IWDFlowLayout |
String |
|
not_bindable |
No |
wrapping |
IWDFlowLayout |
boolean |
true |
not_bindable |
No |
Method Name |
Parameter |
Return Value |
Short Description |
getDefaultPaddingBottom |
|
String |
Returns the value of the defaultPaddingBottom property. |
getDefaultPaddingLeft |
|
String |
Returns the value of the defaultPaddingLeft property. |
getDefaultPaddingRight |
|
String |
Returns the value of the defaultPaddingRight property. |
getDefaultPaddingTop |
|
String |
Returns the value of the defaultPaddingTop property. |
getWrapping |
|
boolean |
Returns the value of the wrapping property. |
setDefaultPaddingBottom |
(String defaultPaddingBottom) |
|
Sets the value of the defaultPaddingBottom property. |
setDefaultPaddingLeft |
(String defaultPaddingLeft) |
|
Sets the value of the defaultPaddingLeft property. |
setDefaultPaddingRight |
(String defaultPaddingRight) |
|
Sets the value of the defaultPaddingRight property. |
setDefaultPaddingTop |
(String defaultPaddingTop) |
|
Sets the value of the defaultPaddingTop property. |
setWrapping |
(boolean wrapping) |
|
Sets the value of the wrapping property. |
Additional methods described in the following APIs are available using inheritance: IWDLayout, IWDViewElement.
