当SectionStackSection中的动画多于一个项目时,动画在SectionStack中不起作用

时间:2012-05-08 17:02:53

标签: gwt smartgwt

我使用此代码
    

    SectionStack sectionStack = new SectionStack();
    sectionStack.setVisibilityMode(VisibilityMode.MULTIPLE);
    sectionStack.setWidth100();
    sectionStack.addSection(createGenerallSettingsSection());
    sectionStack.addSection(createIntegrationSettingsSection());
    sectionStack.setAnimateSections(true);

private SectionStackSection createGenerallSettingsSection() { SectionStackSection section = new SectionStackSection("General settings"); section.setExpanded(true); section.setResizeable(false); section.setItems(getTimeoutField().view()); return section; } private SectionStackSection createIntegrationSettingsSection() { SectionStackSection section = new SectionStackSection("Integration"); section.setExpanded(true); section.setResizeable(false); section.setItems(getUrl().view(), getUser().view(), getPassword().view()); return section; }

然后动画在“常规设置”部分工作,不在“集成”中工作。 也许有人知道如何解决这个问题?

Method view()返回Canvas对象。 SmartGWT版本 - 2.5

0 个答案:

没有答案