Announcement

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

    SpinnerItem icons in wrong place

    Hello. Using GWT 2.2.0, smartgwt pro 2.5.

    When I call setIcons on a spinnerItem, it puts the icon below the spinner buttons, rather than to the right of them as I would expect.

    How do I get the icon to go to the right of the spinner item, like they do for other FormItems?

    Sample code used to create the attached screenshot:

    Code:
        	FormItemIcon tick = new FormItemIcon(){{
        		setSrc("[SKIN]/actions/approve.png");
        	}};
    
        	final SpinnerItem testSpinner = new SpinnerItem("spinner", "Hello!");
        	testSpinner.setIcons(tick);
        	
        	final TextItem testText = new TextItem("text", "Hello!");
        	testText.setIcons(tick);
        	
        	new DynamicForm() {{
        		setFields(testSpinner, testText);
        	}}.draw();
    Thanks
    Attached Files

    #2
    On closer inspection I find that this happens in Chrome(ium), but not in firefox.

    Comment

    Working...
    X