1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    1
    Vote Rating
    0
    GuA is on a distinguished road

      0  

    Default Answered: How to dynamicly resize field's label in a form layout ?

    Answered: How to dynamicly resize field's label in a form layout ?


    I have a form that contains fields with labels that can dynamicly be changed.
    I'm using the TextMetrics class to get the max width needed for the labels, but I can't find a way to reflect the

    Code:
    formLayout.setLabelWidth(computedSize);
    into the panel.

    What is the way to have the label to adapt to the new size in the view ?


  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

Thread Participants: 1