This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JavaFX and the fly likes buttons positions inside a VBox problem when I  shrink the stage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "buttons positions inside a VBox problem when I  shrink the stage" Watch "buttons positions inside a VBox problem when I  shrink the stage" New topic
Author

buttons positions inside a VBox problem when I shrink the stage

taouririt salah eddine
Greenhorn

Joined: Sep 01, 2012
Posts: 5
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 ?



[Thumbnail for before-shrin.png]


[Thumbnail for after-shrink.png]

Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4531
    
    5

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"


luck, db
There are no new questions, but there may be new answers.
taouririt salah eddine
Greenhorn

Joined: Sep 01, 2012
Posts: 5
Yeah ,I got the same answer on Stackoverflow thanks for the reply
 
Don't get me started about those stupid light bulbs.
 
subject: buttons positions inside a VBox problem when I shrink the stage