Announcement

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

    RadioGroupItem disabled width bug

    Hello,

    There is a problem with width of disabled RadioGroupItem that has set setVertical(false);

    Form becomes wider than it should be. When RadioGroupItem is enabled it works ok.
    Bug takes place only on Firefox in Chrome it works fine.

    Tested on:
    SmartGWT 4.1p 2014-04-02
    Firefox 22, 25, 28

    Test case:
    Code:
       	VLayout vLayout = new VLayout(5);
       	vLayout.setWidth100();
        	vLayout.setHeight100();
    
        	DynamicForm form = new DynamicForm();
        	form.setWidth(300);
        	form.setHeight(100);
        	form.setBorder("1px solid red");
        	form.setDisabled(true);
    
        	RadioGroupItem item = new RadioGroupItem("test");
        	item.setValueMap("test1", "test2", "test3");
        	item.setVertical(false);
        	
        	form.setFields(item);
    
        	vLayout.addMember(form);
    
        	DynamicForm form2 = new DynamicForm();
        	form2.setWidth(300);
        	form2.setHeight(100);
        	form2.setBorder("1px solid red");
        	form2.setDisabled(false);
    
        	RadioGroupItem item2 = new RadioGroupItem("test");
        	item2.setValueMap("test1", "test2", "test3");
        	item2.setVertical(false);
        	
        	form2.setFields(item2);
    
        	vLayout.addMember(form2);
        		
        	this.addChild(vLayout);
    Best regards
    Mariusz Goch
    Attached Files

    #2
    Any news in this case?

    Comment


      #3
      This bug still exists :(
      Tested:
      SmartGWT 4.1p 2014-08-28

      Browsers:
      Firefox 22 (BUG)
      Firefox 31 (BUG)
      Google Chrome 36 (OK)
      Google Chrome 37 (OK)

      Best regards
      Mariusz Goch

      Comment

      Working...
      X