PDA

View Full Version : ComboBox margins



swaitch
15 Dec 2010, 1:55 PM
I have the following combobox in a column layout formPanel:



var logicSelectTwo = new Ext.form.ComboBox({
hideLabel: true,
triggerAction: 'all',
tabIndex: 7,
anchor: '100%',
style:'margin-bottom:36px;',
mode: 'local',
store: logicStoreTwo,
name: 'logic2',
hiddenName: 'logic2',
displayField: 'displayName',
valueField: 'logic2'
});The form as you can see in the image has 5 elements in the first column and 3 in the second and third column. I have a margin-bottom in the 2nd and third column to provide the necessary space between elements to make alignment look proper throughout the form. You can see this in the attached image.

My problem is that the margin-bottom is affecting the position of the list when selecting the trigger. Does anyone know how this can be fixed? What might I be missing in the documentation that could help me? Thanks!

23847