PDA

View Full Version : [FIXED][PR3] Ext.form.Hidden rendered style has excess margin



jlmorgan
10 Mar 2011, 11:42 AM
<div id="hiddenfield-1020" class="x-component x-form-item x-form-dirty x-form-label-left">
<div role="presentation" id="x-form-item-body-ext-gen1022" class="x-form-item-body " style="width: 386px;">
<input type="hidden" autocomplete="off" class="x-form-field x-form-hidden" size="20" name="user_id" id="ext-gen1022" value="" aria-invalid="false" role="presentation" aria-describedby="ext-gen1023">
</div>
<div class="x-form-error-msg x-form-invalid-icon" id="ext-gen1023" style="display: none; left: 386px; top: 0px;">
</div>
<div role="presentation" class="x-clear">
</div>
</div>




.x-form-item {
display: block;
margin-bottom: 5px;
position: relative;
}


Disabling the "margin-bottom: 5px;" removed the spacing issue created by the hidden field. Classing on this level element needs to better handle spacing for hidden fields.

evant
10 Mar 2011, 9:55 PM
Should be resolved in the next release. Thanks.