title: Java JavaFX how to make a left hover menu such as this one
body: <p>Here is the kind of left hover menu i try to replicate in my JavaFx ERP, at first i thought it would be fine with MenuButton, unfortunately i can't get the menu folding/unfolding nor the sub-menus that way, i also tried  Accordion but it doesnt behave the same. Does anyone have an idea on how i should proceed and which javafx components I should use to get there?</p>
  
  <p>Menu folded on hover (hover shows full name and sub-menu):</p>
  
  <p><a href="https://i.stack.imgur.com/chAou.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/chAou.png" alt="enter image description here"></a></p>
  
  <p>Menu unfolded:</p>
  
  <p><a href="https://i.stack.imgur.com/WzCqW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WzCqW.png" alt="enter image description here"></a></p>