When a button is created it is easily to control its position using the top & left parameters. However put the same button within a window and top/left fails to work.
I'm sure this must be something quite simple can anyone help?
Code:
<body>
<script type="text/javascript">
isc.Button.create({title:"I can be positioned", left:200, top: 200, width: 150}),
isc.Window.create({
ID: "locationWindow",
title: "A Window",
width: 712,
height: 530,
autoCenter: true,
items: [
isc.Button.create({title:"I can't be positioned", left: 200, top: 200, width: 150})
]
});
</Script>
</body>
Comment