title: JavaFx menu item accelerator Javafx css
body: <p>I have tried to iconified JavaFX menu item label. I got the icon duplicated for both menu item label and accelerator label.
  Here is an image that illustrates my issue.</p>
  
  <p><a href="https://i.stack.imgur.com/LLmRN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LLmRN.png" alt="enter image description here"></a></p>
  
  <p>Here is the Javafx css code:</p>
  
  <pre><code>.menu-item &gt; .label {
  
  }
  
  #miRestore .label{
      -fx-graphic: url("/img/Upload_16x16.png");
  }
  #miBackup .label {
      -fx-graphic: url("/img/Flash%20Disk_16x16.png");
  }
  #miClose .label {
      -fx-graphic: url("/img/Delete_16x16.png");
  }
  
  #miSettings .label {
      -fx-graphic: url("/img/Settings_16x16.png");
  }
  
  #miRegistre . label{
      -fx-graphic: url("/img/Help_16x16.png");
  }
  </code></pre>