Announcement

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

    Problem animating ToolStrip

    SmartClient Version: v10.0p_2015-03-10/Pro Deployment (built 2015-03-10)

    Hi, I have a toolstrip similar to the one in:
    http://www.smartclient.com/smartgwt/showcase/#timeline_filtering_new

    but i have run into a problem when I try to show/hide it via animation.

    When pressing the button twice to hide and show the toolstrip again, it looks like the height of the toolstrip is calculated incorrectly. See attached screenshot.

    TestCase:
    Code:
    final ToolStrip filterToolStrip = new ToolStrip();
    
    Button filterButton = new Button("Show/Hide Filter");
    filterButton.addClickHandler(new ClickHandler() {
    	
    	@Override
    	public void onClick(ClickEvent event) {
    		if(filterToolStrip.isVisible())
    			filterToolStrip.animateHide(AnimationEffect.SLIDE);
    		else
    			filterToolStrip.animateShow(AnimationEffect.SLIDE);
    	}
    });
    
    FormItem filterText = new FormItem("filterItem");
    filterText.setTitle("Filter by Something");
    filterText.setTitleOrientation(TitleOrientation.TOP);
    
    filterToolStrip.addFormItem(filterText);
    
    VLayout layout = new VLayout(10);
    layout.addMembers(filterButton, filterToolStrip);
    layout.draw();
    Attached Files

    #2
    I noticed a bug in the same example in the showcase:
    http://www.smartclient.com/smartgwt/showcase/#timeline_filtering_new

    Write "charles" in the lane name filter textbox and change focus to trigger the filter, and then write "tamara" and trigger the filter again, the timeline shows the "Charles Madigen" lane but with no events.
    I would expect it to show the "Tamara Kane" lane.

    Comment


      #3
      Just a quick note to keep you updated.
      We are investigating these issues.

      The second problem was actually a bug in the sample which we've resolved.
      On the first issue, we do see the problem, and we will follow up with you when we have more information.


      Regards
      Isomorphic Software

      Comment


        #4
        We've made a change to address this issue. Please try the next nightly build, dated May 29 or above.

        Regards
        Isomorphic Software

        Comment

        Working...
        X