Button Label lenght

  1. 14 years ago

    It seems that I have some long names in my ext.
    The long ones gets truncated and only the first name show, like "Conference Room" only show as "Conference"
    where can I set a few more chars for the labels?

    thanks

  2. admin

    14 Jan 2010 Administrator

    operator.css increase the width for the extension button. Or reduce the font size.

  3. I tried changing font size to 50% in operator.css, restarted fop2 and httpd and font size doesn't change. What am I missing?
    .extenbutton {
    width:17.4em;
    font-size:50%;
    color:#000;
    float:left;
    border:2px outset #000;
    margin:3px;
    padding:2px;
    }

    also tried to change overflow:hidden to overflow:visible for body with no affect.

  4. admin

    15 Mar 2010 Administrator

    font-size should be specified in em or px, and you will need to clear your browser cache also.

  5. 12 years ago

    Well.. and what about trunk buttons label length? Is it possible to set more chasrs 4 a trunk name? Also mb it's possible to make trunks look like extensions? For example I've got transit Asterisk server and there is no extensions registered, only trunks. So I've got about 50 trunks to my Asterisk, and I would like to display em like extensions: in the center of the page, not only in the row, but in the line, if u know what I mean. Thx.

    Cheers, KGA

  6. admin

    13 Sep 2012 Administrator

    The trunk width is a relative value , to increase the width you have to modify the layout (index.html) and change grid numbers to make the column wider.

    However, if you want to monitor only trunks, you can very well create a custom configuration for buttons where every trunk is defined as an extension. The differentiation between extension and trunks is arbitrary.

  7. Yeap.. I was thinkin' about creating a new buttons.cfg with trunks as extensions, and so I did. But there are some differences between monitoring diled numbers. That's why this is not for me. So I'll try to modify index.html. Thx.

    Cheers, KGA

  8. admin

    14 Sep 2012 Administrator

    Ok, in that case you might want to:

    1. reduce or hide the extensions left column/grid (you can add a style display none to the div)
    2. increase the size of the right column (just change the grid class for it)
    3. edit operator.css and set the trunkbutton class to be of fixed width.

    Best regards,

or Sign Up to reply!