• zhang zhongqi
    February 24, 2017 at 6:33 pm #3845

    How to set TextBox of  TextAlign=Right or TextAlign=Center?

    zhang zhongqi
    February 25, 2017 at 5:24 am #3846

    <div class=”trans-left”> <span class=””>How to set the TextAlign property of Text to right and center?
    <div class=”trans-left”>Think you!</div>

    Saroj Panda
    February 27, 2017 at 2:08 am #3858

    .trans-left {
    text-align: right;
    I don’t know if this is what you are looking for. May be you need to elaborate your query more if it’s different.


    SPARK Support
    February 27, 2017 at 3:40 pm #3874

    Hi Zhang,

    You can also use a Configuration control:


    Once on the page, you can dynamically set the global text direction:



    Stephen P.

    Saroj Panda
    February 28, 2017 at 12:04 am #3878

    Hi Stephen,

    I think text direction and text align are two different properties.

    setGlobalTextDirection(RTL) will order the elements from right to left whereas

    textalign: right is more specific to the section or element.




    SPARK Support
    March 3, 2017 at 11:07 am #3921

    Hi Saroj,

    After re-reading the question, you are correct.  Thank you for the feedback.


    Stephen P.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search