Questions tagged [splitpane]

SplitPane is used to divide two components. The two components are divided based on the look and feel implementation, and they can be resized by the user. If the minimum size of the two components is greater than the size of the split pane, the divider will not allow you to resize it.

91 questions
0
votes
0 answers

Add a node into a split pane divider

I'm trying to find a solution of how to add a label into a split pane divider or at least create the illusion of that. My approach was to add three panes into the split pane and drag the middle pane along with the two divider. The problem is that on…
JumbleGee
  • 85
  • 1
  • 9
0
votes
0 answers

JavaFx: SplitPane dynamic scrollBar

I have a problem with the SplitPane inside a ScrollPane. I need an extendable scrollPane similar to the TableView so when I have too many items I have scrollbar, when all of my items are visible then hide the scrollbar. ScrollPane has a switch :…
Sunflame
  • 2,993
  • 4
  • 24
  • 48
0
votes
1 answer

Ionic 3 split pane menu toggle not displayed

I'm created my Ionic app for the SplitPane , that one is working fine. but I faced some conflict The split pane is displayed in large screens, but the toggle-menu button is not displayed in small screens. and When I swap it , then after the menu…
core114
  • 5,155
  • 16
  • 92
  • 189
0
votes
1 answer

JavaFX Setting SplitPane divider after init regarding components

I want to set my SplitPane divider to a "specific" starting position so, that takes into consideration the components of the window. There is a fix starter sized TableView, but the window size can be different. So I would like to set the divider…
0
votes
0 answers

Javafx Webview into container (Splitpane here)

Can we add the JavaFX Webview into a container? Actually I have a project in progress and I would like to have only one windows for ma UI. The "SplitPane" UI might be a good answer for me and functionalities I have to display. (see below) In the…
stann
  • 1
0
votes
0 answers

How to get rid of border in SplitPane (JavaFX) ?

I'd like to remove a border inside a splitPane but i can't figure out from where this border comes. SplitPane Exemple In the picture we can see in red the splitpane border, in blue the two components borders and in green the divider border. But…
Billy
  • 11
  • 5
0
votes
1 answer

JTree not showing up inside left ScrollPane of SplitPane

I'm trying to implement a splitpane with scrollpanes on both sides. The left side should show a JTree that I'm attempting to implement but it's not working and I am unable to see the tree. I'm not sure what I'm doing wrong. My code is something…
jaewhyun
  • 71
  • 2
  • 11
0
votes
1 answer

Why when I shrink my splitPane a grey area appears?

I have a problem with my fxml interface. When I try to reduce a specific part of my application, a grey area covers it. An example in image will be more speaking: I've tried quite a few things (by modifying parameters of the different components)…
KaluNight
  • 55
  • 1
  • 9
0
votes
0 answers

How to load fxml in splitpane's childpane, left or right child pane?

public void startQuiz(ActionEvent ae) { try { mainPane.setVisible(true);//main splitpane AnchorPane newPane = (AnchorPane) FXMLLoader.load(getClass().getResource("TestFXML.fxml")); mainPane.getItems().set(1,…
0
votes
1 answer

SplitPane dividers synchronization JavaFX

I want to synchronize dividers in SplitPane, when divider(0) moves, I also want to make the same move by divider(1). I guess I have to bind the positionProperty of divider(0) with something. How can I achieve this?
G.Kot
  • 63
  • 1
  • 1
  • 7
0
votes
1 answer

JavaFX SceneBuilder: how to make textarea fill a pane?

I am using a SplitPane control to divide all available space between two text areas allowing users to adjust split position according to their needs. - SplitPane - AnchorPane - TextArea [1] - AnchorPane - TextArea [2] Unfortunatelly…
Denis Kulagin
  • 8,472
  • 17
  • 60
  • 129
0
votes
1 answer

JavaFX: hide fixed pane with slider in SplitPane

I have a GridPane in a SplitPane. I don't want to resize GridPane when I slide, but I want to be able to hide it. If GridPane has fixed size, slider doesn't move. Also, setting Resizable With Parent false didn't help. How can I achieve this? Thank…
ilmentore
  • 3
  • 2
0
votes
1 answer

When I run this code only the Splitpane shows up but not the JMenu

When I run this code the interface will be split however the code I've used to make the JMenu doesn't show up and there are no errors. I've tried everything but nothing appears to be working. public class Task1panel extends JFrame { public…
Shez Khan
  • 13
  • 2
0
votes
1 answer

java splitpane help code terminates when i run it

When i try to run this code i get a message in the run console saying the operation has been terminated, however there are no errors in the code and everything appears to be fine public class Component1 extends JFrame { public Component1 () { …
Shez Khan
  • 13
  • 2
0
votes
1 answer

How to bind divider position to pixels instead of percentage on SplitPanes in JavaFX?

After resizing the window my SplitPane's divider moves to another position according to the given percentage (e.g.: dividerPositions="0.05"). But I want it to stay on the same position after resizing (like it was bound to pixel size and not…
elaspog
  • 1,635
  • 3
  • 21
  • 51