Facility Control

 View Only
  • 1.  Force line break in CustonPanel Button Text/Label

    Posted 05-04-2016 16:51
    Hello,

    How can I make a line break in the text on my button (Button Name)?

    For example, by default, when I name my button, it shows up as: [CENTER]MEMORY LANE $300[/CENTER]

    But I'd like it to look like this, so it will fit better into the button space: [CENTER]MEMORY LANE
    $300
    [/CENTER]
    Or even this:
    [CENTER]MEMORY
    LANE
    $300

    [/CENTER]
    The system won't let me insert
    in the name string.

    Any ideas?



  • 2.  RE: Force line break in CustonPanel Button Text/Label

    Posted 05-04-2016 16:59
    Got it. " " inline in the name field forces a line break/carriage return.
    #DashBoard


  • 3.  RE: Force line break in CustonPanel Button Text/Label

    Posted 05-04-2016 17:00
    HaHa &_#_10; - without the underscores does the trick.
    #DashBoard


  • 4.  RE: Force line break in CustonPanel Button Text/Label

    Posted 05-04-2016 17:22
    If you're doing an ogscript.rename you can also use \n.
    #DashBoard


  • 5.  RE: Force line break in CustonPanel Button Text/Label

    Posted 05-04-2016 18:32
    Thank you sir!
    #DashBoard