Announcement

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

    ButtonItem autosize no longer working as of 4.1-d20131124.

    I updated my SmartGWT 4.1 library the most recent build. I discovered that autosizing for ButtonItem no longer works.

    Here is the code that demonstrates this:

    Code:
    		DynamicForm form = new DynamicForm();
    		form.setNumCols(1);
    		form.setWidth("140");
    
    		ButtonItem button1 = new ButtonItem();
    		button1.setTitle("This is Button 1");
    
    		ButtonItem button2 = new ButtonItem();
    		button2.setTitle("Button 2");
    
    		form.setItems(button1, button2);
    		form.setCellBorder(1);
    		form.draw();
    I’ve tried various versions of the SmartGWT 4.1 libraries and have found that this bug was introduced with 4.1-d20131124.

    ButtonItem autosize works with 4.1-d20131117.

    The libraries for the dates 4.1-d20131118 through 4.1-d20131123 don’t exist so I couldn’t test these.

    I’ve attached the capture screenshot that shows the difference between 4.1-d20131117 (works correctly) and 4.1-d20131124 (works incorrectly).
    Attached Files

    #2
    Thanks for the report and for narrowing down the date of the regression, that always help chase down a bug. This is fixed for tomorrow's affected builds.

    Comment

    Working...
    X