Function zng_wgt_text::direction
source ยท pub fn direction(
child: impl UiNode,
direction: impl IntoVar<LayoutDirection>,
) -> impl UiNode
Expand description
P
Sets the layout direction used in the layout of the widget and descendants.
Note that the lang
property already sets the direction, this property can be used to directly override the direction.
Sets the DIRECTION_VAR
context var and the LayoutMetrics::direction
.