To be more specific, I'd like something similar to the "Line Width" in this link:
http://www.xdraw.org/xdhTest.html
That is the third icon in the second row. When you click "Line width" icon, a drop down line width(in line images, instead of numbers) will appear.
A dijit.ColorPalette() is already available for changing colors in Dijit. I wonder if similar things for stroke width changes available in Dijit too.
