1 Reply Latest reply on Jun 15, 2017 7:48 AM by pchung RSS
    jhester Newbie

    How Do I Make Two Lines Of Text In A Button Farther Apart?

    I would like to know how we can have a larger line to line distance in our buttons.  This is to avoid letter overlap like what is seen below.

     

    We are utilizing the native button widgets with a set style to make the text bigger.  We then are using localization tokens to support our needed languages.

     

    I am sure this is a newbie question, but I am just that, a newbie to ThingWorx development.

     

    Thank you for your help!

     

      • Re: How Do I Make Two Lines Of Text In A Button Farther Apart?
        pchung Collaborator

        That looks like perhaps the Button widget is not accounting for the larger font size specified.

        Sadly this is actually a bit hard in Thingworx where these widgets are all 'hard coded'

        You either will have to inject some css (not sure if the marketplace now has some widgets for this) or customize the button and make your own button extension

         

        not sure if anyone else knows of other ways.

         

        I'd also 'bug' this so that dev is aware that it isn't calculating the spacing properly.