This topic contains 2 replies, has 2 voices, and was last updated by  Siva 10 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Jqxbutton Posts
  • Jqxbutton #51350

    Siva
    Participant

    Hi team,

    I am using Jqxbutton and set the width as 100px. I have a situation “once the value (name of the button) character getting increased”, then that button width need to be increased.

    Is there anyway or API for this?

    Thanks in advance.

    Jqxbutton #51355

    Dimitar
    Participant

    Hello Siva,

    If you do not set the width of the button it will automatically resize according to its content. Otherwise, you will just need to set the width again:

    $('#jqxButton').jqxButton({ width: '250px'});

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Jqxbutton #51356

    Siva
    Participant

    Thanks for reply.

    But for me the situation is different, initially the whole website button width size is 100px. once the text increased for a button, that button only need to increase the width.

    I will try to solve this width issue in Jquery, by using the length of button to increase the button width.

    Anyway thanks again.

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

You must be logged in to reply to this topic.