Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Button Label lenght

Button Label lenght

Scheduled Pinned Locked Moved Support
8 Posts 4 Posters 167 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    S
    sergiocesar
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • I
        I
        id10t
        wrote on last edited by
        #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.

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • I
            I
            IMBAgamble
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • N
              N
              nicolas
              wrote on last edited by
              #6

              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.

              1 Reply Last reply
              0
              • I
                I
                IMBAgamble
                wrote on last edited by
                #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

                1 Reply Last reply
                0
                • N
                  N
                  nicolas
                  wrote on last edited by
                  #8

                  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,

                  1 Reply Last reply
                  0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  Powered by NodeBB Contributors
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups