we are using smart client for one of the web application where we have different layouts like horizontal, vertical.
In the horizontal layout we have 6buttons to be displayed when user logins as admin, and should display only one button when they login as other user.
For all these buttons created common vlayout and enabling then when ever they needed, but by doing like this other heading is moving its position, its not displaying inbetween...
When the buttons are disabled , title comes to the left...How can I make it to display in the middle..
Code sample looks like below:
isc.VLayout
.create({
ID : "layout",
width : 1200,
height : "80%",
top : 0,
left : 0,
htmlElement : "center_div",
//htmlPosition:"replace",
position : "relative",
//align: "center",
ZIndex : 100,
members : [
isc.HLayout
.create({
ID : "xyzButtonLayoyt",
Thanks in advance
In the horizontal layout we have 6buttons to be displayed when user logins as admin, and should display only one button when they login as other user.
For all these buttons created common vlayout and enabling then when ever they needed, but by doing like this other heading is moving its position, its not displaying inbetween...
When the buttons are disabled , title comes to the left...How can I make it to display in the middle..
Code sample looks like below:
isc.VLayout
.create({
ID : "layout",
width : 1200,
height : "80%",
top : 0,
left : 0,
htmlElement : "center_div",
//htmlPosition:"replace",
position : "relative",
//align: "center",
ZIndex : 100,
members : [
isc.HLayout
.create({
ID : "xyzButtonLayoyt",
Thanks in advance