File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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: 4523
    
    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
 
 
subject: buttons positions inside a VBox problem when I shrink the stage
 
Similar Threads
Form get input data
Embedding encoded image in .FXML file
how to resize a JSlider
JavaFX Scene Builder Help with Charts and such
Tableview with TextField in Javafx