IDEMPIERE-654 Find Window - Advanced - Column field doesn't fit. Based on patch from Richard Morales Herrera.
This commit is contained in:
parent
24a881692f
commit
ba27ab32a6
|
@ -429,30 +429,30 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
||||||
|
|
||||||
ListHeader lstHAndOr = new ListHeader();
|
ListHeader lstHAndOr = new ListHeader();
|
||||||
lstHAndOr.setLabel(Msg.getMsg(Env.getCtx(), "And/Or"));
|
lstHAndOr.setLabel(Msg.getMsg(Env.getCtx(), "And/Or"));
|
||||||
lstHAndOr.setWidth("70px");
|
lstHAndOr.setWidth("10%");
|
||||||
|
|
||||||
ListHeader lstHLeftBracket = new ListHeader();
|
ListHeader lstHLeftBracket = new ListHeader();
|
||||||
lstHLeftBracket.setLabel("(");
|
lstHLeftBracket.setLabel("(");
|
||||||
lstHLeftBracket.setWidth("55px");
|
lstHLeftBracket.setWidth("6%");
|
||||||
|
|
||||||
ListHeader lstHColumn = new ListHeader();
|
ListHeader lstHColumn = new ListHeader();
|
||||||
lstHColumn.setLabel(Msg.translate(Env.getCtx(), "AD_Column_ID"));
|
lstHColumn.setLabel(Msg.translate(Env.getCtx(), "AD_Column_ID"));
|
||||||
lstHColumn.setWidth("210px");
|
lstHColumn.setWidth("30%");
|
||||||
|
|
||||||
ListHeader lstHOperator = new ListHeader();
|
ListHeader lstHOperator = new ListHeader();
|
||||||
lstHOperator.setLabel(Msg.getMsg(Env.getCtx(), "Operator"));
|
lstHOperator.setLabel(Msg.getMsg(Env.getCtx(), "Operator"));
|
||||||
|
|
||||||
ListHeader lstHQueryValue = new ListHeader();
|
ListHeader lstHQueryValue = new ListHeader();
|
||||||
lstHQueryValue.setLabel(Msg.getMsg(Env.getCtx(), "QueryValue"));
|
lstHQueryValue.setLabel(Msg.getMsg(Env.getCtx(), "QueryValue"));
|
||||||
lstHQueryValue.setWidth("200px");
|
lstHQueryValue.setWidth("24%");
|
||||||
|
|
||||||
ListHeader lstHQueryTo = new ListHeader();
|
ListHeader lstHQueryTo = new ListHeader();
|
||||||
lstHQueryTo.setLabel(Msg.getMsg(Env.getCtx(), "QueryValue2"));
|
lstHQueryTo.setLabel(Msg.getMsg(Env.getCtx(), "QueryValue2"));
|
||||||
lstHQueryTo.setWidth("200px");
|
lstHQueryTo.setWidth("20%");
|
||||||
|
|
||||||
ListHeader lstHRightBracket = new ListHeader();
|
ListHeader lstHRightBracket = new ListHeader();
|
||||||
lstHRightBracket.setLabel(")");
|
lstHRightBracket.setLabel(")");
|
||||||
lstHRightBracket.setWidth("55px");
|
lstHRightBracket.setWidth("6%");
|
||||||
|
|
||||||
listhead.appendChild(lstHAndOr);
|
listhead.appendChild(lstHAndOr);
|
||||||
listhead.appendChild(lstHLeftBracket);
|
listhead.appendChild(lstHLeftBracket);
|
||||||
|
@ -699,6 +699,7 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
||||||
listColumn.setMold("select");
|
listColumn.setMold("select");
|
||||||
listColumn.setRows(0);
|
listColumn.setRows(0);
|
||||||
listColumn.addEventListener(Events.ON_SELECT,this);
|
listColumn.addEventListener(Events.ON_SELECT,this);
|
||||||
|
listColumn.setHflex("true");
|
||||||
|
|
||||||
Listbox listOperator = new Listbox();
|
Listbox listOperator = new Listbox();
|
||||||
listOperator.setId("listOperator"+listItem.getId());
|
listOperator.setId("listOperator"+listItem.getId());
|
||||||
|
@ -706,6 +707,7 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
||||||
listOperator.setMold("select");
|
listOperator.setMold("select");
|
||||||
listOperator.setRows(0);
|
listOperator.setRows(0);
|
||||||
listOperator.addEventListener(Events.ON_SELECT,this);
|
listOperator.addEventListener(Events.ON_SELECT,this);
|
||||||
|
listOperator.setHflex("true");
|
||||||
|
|
||||||
Listbox listAndOr = new Listbox();
|
Listbox listAndOr = new Listbox();
|
||||||
listAndOr.setId("listAndOr"+listItem.getId());
|
listAndOr.setId("listAndOr"+listItem.getId());
|
||||||
|
@ -713,6 +715,7 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
||||||
listAndOr.setMold("select");
|
listAndOr.setMold("select");
|
||||||
listAndOr.setRows(0);
|
listAndOr.setRows(0);
|
||||||
listAndOr.addEventListener(Events.ON_SELECT,this);
|
listAndOr.addEventListener(Events.ON_SELECT,this);
|
||||||
|
listAndOr.setHflex("true");
|
||||||
|
|
||||||
Listbox listLeftBracket = new Listbox();
|
Listbox listLeftBracket = new Listbox();
|
||||||
listLeftBracket.setId("listLeftBracket"+listItem.getId());
|
listLeftBracket.setId("listLeftBracket"+listItem.getId());
|
||||||
|
@ -720,6 +723,7 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
||||||
listLeftBracket.setMold("select");
|
listLeftBracket.setMold("select");
|
||||||
listLeftBracket.setRows(0);
|
listLeftBracket.setRows(0);
|
||||||
listLeftBracket.addEventListener(Events.ON_SELECT,this);
|
listLeftBracket.addEventListener(Events.ON_SELECT,this);
|
||||||
|
listLeftBracket.setHflex("true");
|
||||||
|
|
||||||
Listbox listRightBracket = new Listbox();
|
Listbox listRightBracket = new Listbox();
|
||||||
listRightBracket.setId("listRightBracket"+listItem.getId());
|
listRightBracket.setId("listRightBracket"+listItem.getId());
|
||||||
|
@ -727,6 +731,7 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
|
||||||
listRightBracket.setMold("select");
|
listRightBracket.setMold("select");
|
||||||
listRightBracket.setRows(0);
|
listRightBracket.setRows(0);
|
||||||
listRightBracket.addEventListener(Events.ON_SELECT,this);
|
listRightBracket.addEventListener(Events.ON_SELECT,this);
|
||||||
|
listRightBracket.setHflex("true");
|
||||||
|
|
||||||
setValues(listColumn, listOperator, fields);
|
setValues(listColumn, listOperator, fields);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue