This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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: 5148
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