Is it possible to change the height on a jquery ui progressbar

leora picture leora · Jun 2, 2011 · Viewed 8k times · Source

I have a progress bar in a html table cell. It seems to expand to the width of the table cell but i want to explicitly specify the height of the progress bar.

Is it possible to specify the height of a jQuery progress bar?

    $(this).progressbar({
        value: parseInt($(this).attr("rel"))
    });

Answer

Matt Ball picture Matt Ball · Jun 2, 2011

Of course it is. There's even a resizable progress bar demo.

Too fancy for you? Just use .height():

$('#progressbar').height(400);

Demo: http://jsfiddle.net/mattball/N5AVv/