Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Tooltip size

    Hi,
    is there any possibility to change width of tooltip/prompt rectangle ?
    Now when I use it, width of tooltip is about 17 characters only.

    #2
    If you mean a hover, see hoverWidth.

    Comment


      #3
      I'm calling setHoverWidth but it's not working. I tried values from 20 to 50 with no avail too.

      Here's what I have:
      Code:
      refreshButton = new IButton();
      refreshButton.setIcon("[SKIN]/actions/refresh.png");
      refreshButton.setWidth(24);
      refreshButton.setTooltip("Refresh");
      refreshButton.setShowHover(true); // Not sure if need, added in case
      refreshButton.setHoverWidth(50);
      refreshButton.setShowRollOver(false);
      refreshButton.setShowDown(false);
      (Running IE7 with a nightly build from 9/28/10...waiting for schedule to free up to upgrade to a newer version)

      Thanks!

      Comment


        #4
        Are you expecting to clip off the word "Refresh"? Unless you've set unusually small fonts, that's going to be more than 50px, and hovers do not clip.

        Comment


          #5
          Thanks for your reply. No, I'm not trying to clip it.

          Attached is an image of what's currently happening. I'd like to have the tooltip canvas (yellow part) "autoWidth'ed" to the word "Refresh" so there's no extra space after it.
          Attached Files

          Comment


            #6
            We've verified that this is not happening in the most recent nightly builds.
            We'd recommend you try with the latest nightly when you get a chance.
            We're also extremely close to releasing 2.5, which should not have this issue.

            Comment

            Working...
            X