hi all, want to ask a silly question...i really couldnt figure it out...how to set the height and width of a dijit.form.Button? i ve tried this but didnt work
<div dojoType='dijit.form.Button' id='go_button' label='go' showLabel='true' style="height:15px" >
many thx!

Appears to be pretty simple...
Its clearly shown in the test file that you can have all kinds of odd dimension buttons...
http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test...
-Karl
Hi, so button width and
Hi, so button width and height can only be controlled by font size or image size?? and we are not actually configuring the button size itself?? Also, is there a minimum height for dijit button? i put the textbox and the button in the same row, but the button is always greater in height than the textbox.....
It would be nice
I was just struggling with (almost) the same issue...
In the test (the sizing examples) the buttons are sized by changing the font size or stretching an image inside the button. It would be nice to be able to set the width of the button with a width or style tag.
However, (as shown in the "customized buttons" of the example) you can wrap a div tag around the label and set the style for the div tag to change the size of the button.
For example:
<div style="width: 100px; height: 40px;">My Button</div>
</button>
Also, I believe in dojo 1.1
Also, I believe in dojo 1.1 this will be directly addressed by resolution of this ticket #5122. May show up in the nightlies sooner.