[2.0][Solved]ProgressBar Height

January 05th, 2009 edit

  • Setting the height attribute in the constructor doesn't seem to have an effect on the progress bar.

    var p = new Ext.ProgressBar({
    renderTo: 'progress-bar'
    , id: 'nav'
    , height: 10
    });

    The height always is 18px.


  • The height config option in the ProgressBar docs is inherited documentation of the BoxComponent class. Reading the source of the ProgressBar class tells me that height is not configurable (I haven't tested so I can be wrong).

    What you could try is to call ProgressBar method setSize().









  • Solved my problem, thanks.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about [2.0][Solved]ProgressBar Height , Please add it free.