B4J Question BBLabel Alignment

Discussion in 'B4J Questions' started by MarcoRome, Nov 7, 2019.

  1. MarcoRome

    MarcoRome Expert Licensed User

    Hi All.
    The BBLabel is TOP_LEFT alignment but in any case the BBLabel is centered.
    How can I align it to the left?
    Thank you
    Marco

    upload_2019-11-7_12-27-50.png

    upload_2019-11-7_12-26-58.png
     
  2. DonManfred

    DonManfred Expert Licensed User

    how do you set the text to this object?
     
    MarcoRome likes this.
  3. Erel

    Erel Administrator Staff Member Licensed User

    The alignment property (currently) doesn't affect the BBLabel alignment. It is part of the default properties that always appear with custom views.

    Use the latest version of BCTextEngine and change the alignment yourself with:
    Code:
    BBLabel1.DisableResizeEvent = True
    BBLabel1.ForegroundImageView.Left = 
    5dip 'set this after you set the text.
     
    Johan Hormaza and MarcoRome like this.
  4. MarcoRome

    MarcoRome Expert Licensed User

    Work.
    Also B4J is really Great.
    And you have my contribute to supporting B4J ( 40€ )
    Thank again Erel
     
    DonManfred and Erel like this.
  5. Erel

    Erel Administrator Staff Member Licensed User

    Thank you!
     
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