Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

buttons positions inside a VBox problem when I shrink the stage

 
taouririt salah eddine
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
at the top-level I have a BorderPane, with a TableView in the centre and a VBox in the left with three buttons, when I shrink the stage , the buttons goes out the Vbox
this is my FXML file :

How can I fix this problem ?
before-shrin.png
[Thumbnail for before-shrin.png]
before shrinking
after-shrink.png
[Thumbnail for after-shrink.png]
After I shrink the stage
 
Darryl Burke
Bartender
Posts: 5126
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know FXML, but it appears to me that you have a TableView with a minWidth of 600 and a VBox with a minWidth of 200, so maybe your BorderPane should have a minWidth of 800 and not "-Infinity"
 
taouririt salah eddine
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah ,I got the same answer on Stackoverflow thanks for the reply
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic