Load the sample on playbook. Put cursor on username. You should see the keyboard flashing up and down - this is because of the redrawOnResize property.
Code:
isc.VStack.create({
ID:"LoginGrid_vCentering",
name:"LoginGrid_vCentering",
autoDraw:true,
redrawOnResize:true,
height:"100%",
width:"100%",
align:"center",
defaultLayoutAlign:"center",
members:
[isc.DynamicForm.create({
width:240,
ID:"LoginGrid",
name:"LoginGrid",
numCols:2,
colWidths:["90","150"],
titleOrientation:"left",margin:0,
fields:
[{title:"<nobr>Username <\/nobr>",
width:"*",
colSpan:"1",
align:"center",
ID:"userId",
name:"userId",
length:25,
_constructor:"TextItem"},
{title:"<nobr>Password <\/nobr>",
width:"*",
colSpan:"1",
align:"center",
ID:"Password",
name:"Password",
required:true,
length:25,
_constructor:"PasswordItem"
}
]
})]});
Comment