1. #1
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default Form, label and field widths...??

    Form, label and field widths...??


    When working out form widths, does anyone know the widths of the extra bits that make up the panel - ie when I add label width and field width it is always way less than the needed formpanel width.

    I'd like to know what the extra min padding would be so that I can snuggly offer the right width - also, if some of it is CSS based, how would I know this when changing themes? Is there a way to programatically pull out the panel border widths?

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default


    When you add the padding (default of 20) it all adds up fine - but none of this is documented and should probably be clearly added in Javadocs when setting labelwidth and fieldwidth that panel width needs to = labelwidth + fieldwidth + padding

    Also, would be nice to be able to programmatically get/set padding