This topic contains 1 reply, has 2 voices, and was last updated by  Minko 12 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Width of ToolTip #4483

    Adrian K.
    Member

    Hello,

    Is there an opportunity to set the width/height of a tool tip? I tried it, with CSS, but it does not work.

    Best Regards,
    Adrian

    Width of ToolTip #4496

    Minko
    Blocked

    Hello Adrian,

    for setting jqxTooltip’s size you can use the following approach:

    $("#jqxTooltip").jqxTooltip({ showHtml: true });
    $("#jqxTooltip").jqxTooltip('add', element, '<div style="width: 100px; height: 50px;">Content</div>');

    The code above creates tooltip which content could be HTML (this is because of setting showHtml property to true).
    For tooltip’s content is used a div element with the desired size of the tooltip: 100×50.

    Best regards,
    Minko

    jQWidgets Team
    http://jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.