Facility Control

 View Only
  • 1.  Dashboard Button Styles

    Posted 04-22-2023 11:15

    Greetings,

    Is having centered, word-wrapped, padding text possible in a Dashboard button?

    I found a thread regarding Word Wrap on buttons, which was helpful, but when I do this, the wrapped text is no longer centered.  I would also like to add padding in the button so that text will wrap before hitting the edge of the button.

    Regards,
    Ryan

    #DashBoard 



  • 2.  RE: Dashboard Button Styles
    Best Answer

    Posted 04-25-2023 15:52

    Something I typically always do inside of my dashboard buttons is this

    <html><center>BUTTON NAME HERE<br>THIS GIVES A LINE BREAK</html>

    So that would have centered the text in the button and returned 2 lines of text, unless the button was scaled down with large text and then I cannot tell you how many lines it would have given you.



    ------------------------------
    Garrett Hall
    Overtime Elite
    ------------------------------



  • 3.  RE: Dashboard Button Styles

    Posted 04-26-2023 09:44

    if you add another <br/> it will give you another row. I have had as many as 4 rows of text centered on a dashboard button. 



    ------------------------------
    Malcolm Thorpe
    Free Lance Xpression Designer/Carbonite TD
    ------------------------------



  • 4.  RE: Dashboard Button Styles

    Posted 04-30-2023 21:10

    Thanks Garrett, the center tag worked for me (remembering of course to add the closing </center> tag).




  • 5.  RE: Dashboard Button Styles

    Posted 04-30-2023 21:32

    There have been times when I have forgotten the closing </center> or </htmll> tags and it still works. So I basically stopped using them. Will this cause any problems down the road? It hasn't so far. Thanks in advance.



    ------------------------------
    Malcolm Thorpe
    Free Lance Xpression Designer/Carbonite TD
    ------------------------------