Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    making button to center[urgent]

    Hi ,
    Please help me in this small thing.. i am trying it from 1 hour but i am nt able to do it.

    i want to align button to the center of modal window page. pleas e help me ..

    here is my code.
    Code:
    isc.Label.create({	autoDraw:false,							align:"center",							contents:"Label given------->",ID:"Label0"})
    
    	isc.Button.create({title:"Close",autoDraw:false,	margin:0,padding:0,ID:"closebutton"})
    
    isc.Window.create({ID: "openWindow",title: "ABCD",			showMinimizeButton:false,						    showCloseButton:true,						    showShadow:false,						    width:500,						    height:200,						    showHeader:true,						    autoCenter: true,						    isModal: true,						    showModalMask: true,						    autoDraw: true,						    items:[Label0,closebutton]
    })
Working...
X