BUG 10400 Check PM requirements necesita scrolls SOLVED

- Cuando se reduce de tamaño el browser la información no se ve y no se activa el scroll bar vertical ni el scroll bar horizontal.
- Adjustment in the distribution of the layout.
This commit is contained in:
Hector Cortez
2013-01-16 17:53:19 -04:00
parent 1e54b41d45
commit d79c6f4307

View File

@@ -13,7 +13,7 @@ systemInfo.application = {
switch (option) { switch (option) {
case "SYS": case "SYS":
url = "../installer/getSystemInfo" url = "../installer/getSystemInfo";
break; break;
} }
@@ -69,12 +69,13 @@ systemInfo.application = {
var pnlWest = new Ext.Panel({ var pnlWest = new Ext.Panel({
id: "pnlWest", id: "pnlWest",
region: "west", region: "fit",
margins: {top: 10, right: 0, bottom: 10, left: 10}, margins: {top: 10, right: 0, bottom: 10, left: 10},
border: false, border: false,
bodyStyle: "padding: 10px; font: 0.80em arial;", bodyStyle: "padding: 10px; font: 0.80em arial;",
width: 250, width: 250,
height: 300,
html: _("ID_PROCESSMAKER_REQUIREMENTS_DESCRIPTION") html: _("ID_PROCESSMAKER_REQUIREMENTS_DESCRIPTION")
}); });
@@ -82,12 +83,13 @@ systemInfo.application = {
var frmfsCenter = new Ext.form.FieldSet({ var frmfsCenter = new Ext.form.FieldSet({
id: "frmfsCenter", id: "frmfsCenter",
region: "center", region: "fit",
margins: {top: 10, right: 10, bottom: 10, left: 0}, margins: {top: 10, right: 10, bottom: 10, left: 0},
border: false, border: false,
labelWidth: 200, labelWidth: 200,
width: 430,
height: 320,
items: [ items: [
{ {
xtype: "displayfield", xtype: "displayfield",
@@ -170,20 +172,34 @@ systemInfo.application = {
] ]
}); });
var pnlMain = new Ext.Panel({ var pnlMain = new Ext.Panel({
id: "pnlMain", id: "pnlMain",
layout: "border", layout: "table",
autoScroll: true,
border: false, border: false,
title: _("ID_PROCESSMAKER_REQUIREMENTS_CHECK"), title: _("ID_PROCESSMAKER_REQUIREMENTS_CHECK"),
layoutConfig: {
columns: 2
},
items:[{
width: 250,
bodyBorder: false,
layout: 'form',
items: pnlWest
}, {
width: 430,
layout: 'form',
items: frmfsCenter
}]
items: [pnlWest, frmfsCenter]
}); });
//Load all panels //Load all panels
var viewport = new Ext.Viewport({ var viewport = new Ext.Viewport({
layout: "fit", layout: "fit",
autoScroll: true,
items: [pnlMain] items: [pnlMain]
}); });
} }