IDEMPIERE-455 Discover and fix FindBugs problems / Eclipse warning -> deprecated setFlex
This commit is contained in:
parent
b74cf169c0
commit
df48675ea8
|
@ -96,9 +96,9 @@ public class WResetPassword implements IFormController, EventListener<Event>, Va
|
|||
Center center = new Center();
|
||||
center.setStyle("border: none");
|
||||
contentPane.appendChild(center);
|
||||
gridPanel.setHflex("true");
|
||||
gridPanel.setVflex("true");
|
||||
center.appendChild(gridPanel);
|
||||
center.setHflex("true");
|
||||
center.setVflex("true");
|
||||
South south = new South();
|
||||
south.setStyle("border: none");
|
||||
contentPane.appendChild(south);
|
||||
|
|
|
@ -224,17 +224,17 @@ public final class WAccountDialog extends Window
|
|||
|
||||
North nRegion = new North();
|
||||
nRegion.setParent(layout);
|
||||
nRegion.setHflex("false");
|
||||
nRegion.setVflex("false");
|
||||
northPanel.setHflex("false");
|
||||
northPanel.setVflex("false");
|
||||
nRegion.appendChild(northPanel);
|
||||
nRegion.setStyle("background-color: transparent; border: none");
|
||||
northPanel.setStyle("background-color: transparent;");
|
||||
|
||||
Center cRegion = new Center();
|
||||
cRegion.setParent(layout);
|
||||
m_adTabPanel.setHflex("true");
|
||||
m_adTabPanel.setVflex("true");
|
||||
cRegion.appendChild(m_adTabPanel);
|
||||
cRegion.setHflex("true");
|
||||
cRegion.setVflex("true");
|
||||
|
||||
South sRegion = new South();
|
||||
sRegion.setParent(layout);
|
||||
|
|
|
@ -137,9 +137,9 @@ public class WChat extends Window implements EventListener<Event>, DialogEvents
|
|||
//
|
||||
|
||||
Center center = new Center();
|
||||
messageTree.setHflex("true");
|
||||
messageTree.setVflex("true");
|
||||
center.appendChild(messageTree);
|
||||
center.setHflex("true");
|
||||
center.setVflex("true");
|
||||
center.setAutoscroll(true);
|
||||
mainPanel.appendChild(center);
|
||||
//
|
||||
|
|
|
@ -285,11 +285,11 @@ public class WEMailDialog extends Window implements EventListener<Event>, ValueC
|
|||
layout.setStyle("background-color: white; position: absolute; margin:0; border:0; padding:0");
|
||||
|
||||
Center center = new Center();
|
||||
grid.setHflex("true");
|
||||
grid.setVflex("true");
|
||||
center.appendChild(grid);
|
||||
layout.appendChild(center);
|
||||
center.setStyle("background-color: white; border: 0");
|
||||
center.setHflex("true");
|
||||
center.setVflex("true");
|
||||
|
||||
South south = new South();
|
||||
Div southDiv = new Div();
|
||||
|
|
|
@ -138,13 +138,12 @@ public class WFieldRecordInfo extends Window implements EventListener<Event>
|
|||
|
||||
Center center = new Center();
|
||||
center.setParent(layout);
|
||||
center.setHflex("true");
|
||||
center.setVflex("true");
|
||||
if (showTable)
|
||||
{
|
||||
table.setHflex("true");
|
||||
table.setVflex("true");
|
||||
center.appendChild(table);
|
||||
table.setWidth("100%");
|
||||
table.setVflex(true);
|
||||
}
|
||||
//
|
||||
South south = new South();
|
||||
|
|
|
@ -137,8 +137,8 @@ public class WImageDialog extends Window implements EventListener<Event>
|
|||
parameterPanel.appendChild((fileButton));
|
||||
|
||||
Center center = new Center();
|
||||
center.setHflex("true");
|
||||
center.setVflex("true");
|
||||
image.setHflex("true");
|
||||
image.setVflex("true");
|
||||
center.setParent(mainLayout);
|
||||
center.appendChild(image);
|
||||
center.setStyle("background-color: transparent");
|
||||
|
|
|
@ -171,8 +171,8 @@ public class WMediaDialog extends Window implements EventListener<Event>
|
|||
|
||||
Center centerPane = new Center();
|
||||
centerPane.setAutoscroll(true);
|
||||
centerPane.setHflex("true");
|
||||
centerPane.setVflex("true");
|
||||
previewPanel.setHflex("true");
|
||||
previewPanel.setVflex("true");
|
||||
mainPanel.appendChild(centerPane);
|
||||
centerPane.appendChild(previewPanel);
|
||||
|
||||
|
|
|
@ -205,8 +205,8 @@ public class WPAttributeDialog extends Window implements EventListener<Event>
|
|||
|
||||
Center center = new Center();
|
||||
center.setParent(mainLayout);
|
||||
center.setHflex("true");
|
||||
center.setVflex("true");
|
||||
centerPanel.setHflex("true");
|
||||
centerPanel.setVflex("true");
|
||||
center.appendChild(centerPanel);
|
||||
|
||||
South south = new South();
|
||||
|
|
|
@ -145,8 +145,8 @@ public class WPAttributeInstance extends Window implements EventListener<Event>
|
|||
// Center
|
||||
Center center = new Center();
|
||||
center.setParent(mainLayout);
|
||||
center.setHflex("true");
|
||||
center.setVflex("true");
|
||||
m_table.setHflex("true");
|
||||
m_table.setVflex("true");
|
||||
center.appendChild(m_table);
|
||||
|
||||
// South
|
||||
|
|
|
@ -154,10 +154,10 @@ public class WRecordInfo extends Window implements EventListener<Event>
|
|||
|
||||
Center center = new Center();
|
||||
center.setParent(layout);
|
||||
center.setHflex("true");
|
||||
center.setVflex("true");
|
||||
if (showTable)
|
||||
{
|
||||
table.setHflex("true");
|
||||
table.setVflex("true");
|
||||
North north = new North();
|
||||
north.setParent(layout);
|
||||
north.appendChild(div);
|
||||
|
@ -168,6 +168,8 @@ public class WRecordInfo extends Window implements EventListener<Event>
|
|||
}
|
||||
else
|
||||
{
|
||||
div.setHflex("true");
|
||||
div.setVflex("true");
|
||||
center.appendChild(div);
|
||||
}
|
||||
//
|
||||
|
|
|
@ -173,9 +173,9 @@ public class WTask extends Window implements EventListener<Event>
|
|||
Div div = new Div();
|
||||
div.setStyle("width: 100%; height:100%; overflow: auto");
|
||||
div.appendChild(info);
|
||||
div.setHflex("true");
|
||||
div.setVflex("true");
|
||||
center.appendChild(div);
|
||||
center.setHflex("true");
|
||||
center.setVflex("true");
|
||||
|
||||
South south = new South();
|
||||
layout.appendChild(south);
|
||||
|
|
|
@ -82,10 +82,10 @@ public class ZkJRViewer extends Window implements EventListener<Event>, ITabOnCl
|
|||
north.appendChild(toolbar);
|
||||
|
||||
Center center = new Center();
|
||||
center.setHflex("true");
|
||||
center.setVflex("true");
|
||||
layout.appendChild(center);
|
||||
iframe = new Iframe();
|
||||
iframe.setHflex("true");
|
||||
iframe.setVflex("true");
|
||||
iframe.setId("reportFrame");
|
||||
iframe.setHeight("100%");
|
||||
iframe.setWidth("100%");
|
||||
|
|
|
@ -316,10 +316,10 @@ public class ZkReportViewer extends Window implements EventListener<Event>, ITab
|
|||
north.appendChild(toolBar);
|
||||
|
||||
Center center = new Center();
|
||||
center.setHflex("true");
|
||||
center.setVflex("true");
|
||||
layout.appendChild(center);
|
||||
iframe = new Iframe();
|
||||
iframe.setHflex("true");
|
||||
iframe.setVflex("true");
|
||||
iframe.setId("reportFrame");
|
||||
center.appendChild(iframe);
|
||||
|
||||
|
|
Loading…
Reference in New Issue