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:
Thanks
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();
Comment