IDEMPIERE-6095 Organization window: The lookup drop down inside the west tree panel doesn't resize when you resize the tree panel (#2300)

This commit is contained in:
hengsin 2024-04-09 01:06:18 +08:00 committed by Carlos Ruiz
parent 9f6c6c3ff4
commit 35995e07df
1 changed files with 3 additions and 5 deletions

View File

@ -23,7 +23,6 @@ import java.util.TreeMap;
import org.adempiere.webui.ClientInfo;
import org.adempiere.webui.adwindow.ADTreePanel;
import org.adempiere.webui.apps.AEnv;
import org.adempiere.webui.component.AutoComplete;
import org.adempiere.webui.component.Label;
import org.adempiere.webui.component.Panel;
@ -183,12 +182,11 @@ public class TreeSearchPanel extends Panel implements EventListener<Event>, Tree
}
});
ZKUpdateUtil.setHflex(cmbSearch, "1");
ZKUpdateUtil.setHflex(lblSearch, "0");
addEventListener(ON_COMBO_SELECT_ECHO_EVENT, this);
addEventListener(ON_POST_SELECT_TREEITEM_EVENT, this);
if (AEnv.isInternetExplorer())
{
ZKUpdateUtil.setWidth(cmbSearch, "200px");
}
layout.appendChild(lblSearch);
layout.appendChild(cmbSearch);