Hello All,
I am using SmartGWT1.1, GWT1.6. I am not able to understand how to solve this issue.
I have implemented a Window in my application. The title of the window is displaying to the bottom of window. Even the ‘X’ button also shows below.
I have attached the screen shot.
Here is my Code.
final Window winModal = new Window();
winModal.setWidth(360);
winModal.setHeight(115);
winModal.setTitle("Modal Window");
winModal.setShowMinimizeButton(false);
winModal.setIsModal(true);
winModal.centerInPage();
winModal.setCanDragResize(true);
winModal.addCloseClickHandler(new CloseClickHandler() {
public void onCloseClick(CloseClientEvent event) {
winModal.destroy();
}
});
DynamicForm form = new DynamicForm();
form.setHeight100();
form.setWidth100();
form.setPadding(5);
form.setLayoutAlign(VerticalAlignment.BOTTOM);
TextItem textItem = new TextItem();
textItem.setTitle("Text");
DateItem dateItem = new DateItem();
dateItem.setTitle("Date");
DateItem dateItem2 = new DateItem();
dateItem2.setTitle("Date");
dateItem2.setUseTextField(true);
form.setFields(new FormItem[] { textItem, dateItem, dateItem2 });
//IButton button = new IButton("OK");
winModal.addMember(form);
//winModal.addMember(button);
winModal.show();
Can any one help me in sorting out this issue.
Please let me know if you need more information to solve this issue.
Thanks
