B4J Question change msgbox text alignment

Erel

B4X founder
Staff member
Licensed User
Longtime User
1676367218238.png


B4X:
Private Sub SetRTL(Alert As JavaObject)
    Alert.RunMethodJO("getDialogPane", Null).RunMethod("setNodeOrientation", Array("RIGHT_TO_LEFT"))
End Sub

Usage:
B4X:
SetRTL(xui.MsgboxAsync("ניסיון", "aaa"))
 
Upvote 0
Top