title: JavaFX: How to define margin to TextField in css?
body: <p>Is it possible to define padding and margin for <code>TextField</code>s in JavaFX using CSS? I have tried <code>-fx-padding</code> and some other properties, but no effect.  I am using JavaFX 2.2 which is included in the latest version of Java 7.</p>
  
  <p>I have many textfields and doing something like: </p>
  
  <pre><code>    &lt;GridPane.margin&gt;
          &lt;Insets bottom="10.0" left="60.0" right="0.0" top="10.0"/&gt;
      &lt;/GridPane.margin&gt;
  </code></pre>
  
  <p>after each textfield is not a good solution for me.</p>