1. #1
    Sencha Premium Member
    Join Date
    Jul 2011
    Location
    Arizona
    Posts
    64
    Answers
    1
    Vote Rating
    0
    jdkida is on a distinguished road

      0  

    Default Answered: Setting the minWidth of a ResizeContainer panel?

    Answered: Setting the minWidth of a ResizeContainer panel?


    I have a panel that is set to .5 of its parent, I would like this panel to continue shrinking when the browser window is resized but only upto a certain point. I would like to set a fixed minWidth, how do I do this in GXT?

  2. Although what i am doing may lead to a bad UX, this can be accomplished by simply overriding the onResize method, checking if it is smaller then my minWidth and handling it appropriatly.

    I have not yet actually coded this, however I am going to give it a shot and see if the UX is reasonable for my application, once i have the code, I will post it incase anyone else needs it.

    Thanks to Colin, for the help.

  3. #2
    Sencha Premium Member
    Join Date
    Jul 2011
    Location
    Arizona
    Posts
    64
    Answers
    1
    Vote Rating
    0
    jdkida is on a distinguished road

      0  

    Default


    Although what i am doing may lead to a bad UX, this can be accomplished by simply overriding the onResize method, checking if it is smaller then my minWidth and handling it appropriatly.

    I have not yet actually coded this, however I am going to give it a shot and see if the UX is reasonable for my application, once i have the code, I will post it incase anyone else needs it.

    Thanks to Colin, for the help.