B4J Question TextArea alignment

Discussion in 'B4J Questions' started by hanyelmehy, Jan 1, 2019.

  1. hanyelmehy

    hanyelmehy Active Member Licensed User

    any idea how to chane TextArea alignment to right (i need multi line edit text box)
    set Style to "-fx-alignment: center-right" or other work only with TextField with no effect on TextArea
     
  2. hanyelmehy

    hanyelmehy Active Member Licensed User

    [SOLVED]
    To set to right use
    Code:
    Dim jo As JavaObject = TextArea
    jo.RunMethod(
    "setNodeOrientation"Array("RIGHT_TO_LEFT"))
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice