This discussion is archived
3 Replies Latest reply: Jul 26, 2013 11:49 AM by d5e39d0d-aae7-42fe-87c6-d1de6084adfe RSS

Set location of components and reduce the size

d5e39d0d-aae7-42fe-87c6-d1de6084adfe Newbie
Currently Being Moderated

I want to resize JavaFX component and shrink the components which are next to it. Here is the result which I get:

When I click on the angle of this component I can resize it down and right.

 

http://i.stack.imgur.com/jqoNW.png

 

The components which are next to it are pushed down and right. Part of them are behind the visible part of the screen.

 

http://i.stack.imgur.com/rsi0L.png

 

All components are placed in BorderPane,VBox,HBoxand againBorderPane. I don't want to allow components to move. I want to shrink them and use Scrollpane` when their size is reduced. Can you give me some hits how to solve these two problems?

 

Ref javafx 2 - Set location of components and reduce the size - Stack Overflow

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points