smartgwt-3.1d
Try as I might I can't manage to get multiple ButtonItems to span multiple columns on one row in the form. The code does put the buttons on one row, but it won't span multiple columns - it puts the 1st button in column 1 and the 2nd in column 2. See attached.
I know that I can create a HLayout and put the IButtons there, but that's not the "right way" to do it (IMHO) - especially if the button row is in the middle of the form.
Thanks
ButtonItem build = new ButtonItem("Build");
//build.setColSpan(2);
build.setWidth(75);
build.setAlign(Alignment.RIGHT);
build.setEndRow(false);
ButtonItem invoke = new ButtonItem("Invoke");
//invoke.setColSpan(2);
invoke.setWidth(75);
invoke.setAlign(Alignment.RIGHT);
invoke.setStartRow(false);
invoke.setEndRow(true);
Try as I might I can't manage to get multiple ButtonItems to span multiple columns on one row in the form. The code does put the buttons on one row, but it won't span multiple columns - it puts the 1st button in column 1 and the 2nd in column 2. See attached.
I know that I can create a HLayout and put the IButtons there, but that's not the "right way" to do it (IMHO) - especially if the button row is in the middle of the form.
Thanks
ButtonItem build = new ButtonItem("Build");
//build.setColSpan(2);
build.setWidth(75);
build.setAlign(Alignment.RIGHT);
build.setEndRow(false);
ButtonItem invoke = new ButtonItem("Invoke");
//invoke.setColSpan(2);
invoke.setWidth(75);
invoke.setAlign(Alignment.RIGHT);
invoke.setStartRow(false);
invoke.setEndRow(true);
Comment