title: Setting Width For Dojo Button
body: <p>Note: It is related to <a href="https://stackoverflow.com/questions/6057236/">this question</a>.</p>
  
  <p>I am trying to create a dojo button programmatically like this:</p>
  
  <pre class="lang-js prettyprint-override"><code>var btnOK = new dijit.form.Button({
      label: "OK",
      showLabel: true,
      style: "height: 20px; width: 50px;"
  });
  </code></pre>
  
  <p>Now even though I specify the width, while displaying the button width is set to minimum (i.e text + margin). The reason as explained in the <a href="https://stackoverflow.com/questions/6057236/#6069457">answer</a>  is that dojo overrides css style for button (<code>class="dijitButtonNode"</code>). Further (in the same answer) the width is set by overriding styles for same class. </p>
  
  <p>Is it possible to do same (i.e set the width) without this css workaround ?</p>