How to right align a button in Java FX toolbar

前端 未结 3 710
臣服心动
臣服心动 2020-12-01 07:09

I am building a UI using Java FX scene builder and I want a button in a toolbar to float towards the right side of the toolbar. I have tried changing the node orientation of

3条回答
  •  情深已故
    2020-12-01 07:55

    Add a pane with no content which always grows to fit available space between the left aligned tools in the bar and right aligned ones.

    tool

    
    
    
    
    
    
       

提交回复
热议问题