java - Pane always on top - JavaFX -


My stage is in the form of nodes, a boderpan with 2 kids, one at the top, one below (like graphics for game, on the top big screen and on the menu below).

The idea is that "menus" should always be on top.

We say that the screen size will be 500x400, the top children will be 800x400 and the children below will be 100x400.

I want the user to appear above half of the top-chillers and

thanks !!

"text">

Welcome to the stack overflow! Please make sure to travel a little bit on how this works by navigating to this site.

To achieve the GUI design you are looking for, you may want to play with other built-in layout panes of JavaFX. My first suggestion is

[pseudo code]

  & lt; VBox & gt; & Lt; ScrollPane VBox.Vgrow = "Always" & gt; & Lt; Large screen pane / & gt; & Lt; / Scrollpane & gt; & Lt; Menu pane / & gt; & Lt; / VBox & gt;  

The second suggestion is to use anchpana , where "menu panels" always fall under the bottom of the platform.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -