scrollpane Questions

5

Solved

I'm making a lobby in a multi-player game, which may have any number of players displayed in a table. I have the following code: camera = new OrthographicCamera(WIDTH,HEIGHT); camera.position.set...
Slew asked 1/8, 2013 at 14:41

3

I have to create timeline with line showing current time. I'm using AnchorPane with added line placed in ScrollPane. I need to simulate 1 day, scrollpane width is ( 2880px, every 60px is one hour)....
Cedrickceevah asked 3/9, 2013 at 9:21

7

I'm having some problem regarding the default background and border of the ScrollPane. Using this style made the problem clearer to see. setStyle("-fx-background-color:blue; -fx-border-color:crims...
Archivist asked 9/7, 2013 at 4:49

3

Solved

I'm having some difficulty with ScrollPane in JavaFX 8 showing the scrollbar as needed. What I'm currently doing is simply creating a FlowPane with x number of elements, and setting that as the con...
Nectarous asked 3/11, 2017 at 0:31

3

Solved

Here is a code snippet. itemList = new List(skin, "ariel.32.white"); String[] tmpInv = new String[b+1]; tmpInv[0] = "<Empty>"; a++; for (Entry<String, String> entry : inventoryItems.en...
Apogee asked 29/6, 2014 at 20:54

3

Solved

The ScrollBar class in JavaFX contains a property for setting the unit increment, which is what I'm after - however I can't find how to get at this ScrollBar, or set the unit increment some other w...
Portal asked 16/7, 2013 at 21:18

2

Solved

In javaFX scrollpane. It scrolls so slowly.. Any method to boost it up? I've looked all over here, and no luck.. I've found some thread about listview.. Demonstration:
Physiologist asked 30/10, 2016 at 11:23

1

I'd like to create horizontal scrolling linechart with a locked y axis on JAVAFX. I have been searching an example or something similar but I did not find anything with JAVAFX. I try to put the lin...
Bethink asked 30/11, 2018 at 10:1

4

Solved

I need to zoom in / out on a scroll pane, relative to the mouse position. I currently achieve the zooming functionality by wrapping my content in a Group, and scaling the group itself. I create a ...
Serafinaserafine asked 3/10, 2016 at 9:2

2

Solved

So I am creating a map in JavaFX and I would like to have the whole map visible at times. However, the issue is that after I set the imageView to fit the screen size then adding it to the scrollPan...
Botanist asked 16/9, 2016 at 10:59

1

Solved

I have a Pane Object where users can drag and drop various ImageViews. For this, I used pane.getChildren(imageViewObject) method Now, after replacing Pane with ScrollPane, it does not have this ...
Bobble asked 23/7, 2016 at 22:11

3

Solved

I need to design this scrollbar for all my scrollpanes : With Java Swing. I am using Netbeans IDE. What is the simplest solution ? Thank you very much. Regards
Lockup asked 21/11, 2011 at 7:27

2

Solved

Situation: First of all, I'm newbie in LibGDX. I'm making a game where players may see all achievements in a screen, so I'm using a ScrollPane for this. The achievements are shown in a form of p...
Briannabrianne asked 18/12, 2014 at 4:12

3

I can use the setVvalue(double) and setHvalue(double) methods to move a viewport in a JavaFX ScrollPane. What I'm struggling to do is center a particular node in the content of the scroll pane base...
Seanseana asked 5/4, 2013 at 18:1

1

Solved

So, basically, I'm trying to achieve this a scrollable set of components with spacing etc. and the ability to add more components. The list of components are custom anchorpane components. Here's a...
Leishaleishmania asked 7/5, 2015 at 15:7

2

Solved

I have a BorderPane with a ScrollPane as the center element. It resizes automatically to fill the screen. Inside the ScrollPane is a HBox that has no content but is a drag-and-drop target. Therefor...
Hypnotherapy asked 10/7, 2013 at 10:47

1

Solved

Im trying to get a dynamic scrollpane in my JavaFX (FXML) application using CSS. my CSS for the scrollpane looks like this: .scroll-pane { -fx-width: 80%; -fx-height: 80%; -fx-background-color:...
Bellringer asked 17/3, 2015 at 10:28

1

I want to access the ScrollBar within a ScrollPane to find the values and do some operations such as increment on click and some other stuff. I cannot find any way of accessing the horizontal and v...
Peracid asked 6/3, 2015 at 17:30

1

I can't get working zoom relative to mouse position in JavaFX. I've read and tried rewrite this and this, but it's not working. Can't scroll viewport using scrollPane.setViewportBounds(). I must u...
Pomerania asked 17/3, 2014 at 12:4

1

Solved

I'm creating a store for my game and I'm having issues with the libgdx ScrollPane. It seems to be moving the table within it down by 155px. The effect it's having is that the table appears roughly ...
Porky asked 20/12, 2014 at 7:13

3

Solved

I have an application that requires zoom inside a ScrollPane, but with my current approach I'm still facing 2 challenges. In order to replicate the problem, I have written a small application ZoomA...
Arthropod asked 5/11, 2012 at 18:57

1

I have a ScrollPane in my scene and would like to add a series of Nodes to it. The exact amount must be dynamic. I've been testing the concept with Label nodes and can successfully add as many Labe...
Illiquid asked 7/8, 2013 at 4:20

1

In my current application I have created a ScrollPane with an AnchorPane as content. Depending on the actions of the user this AnchorPane will be filled with more or less images for which I use a C...
Hi asked 2/4, 2013 at 13:12

1

Im making a playlist in a scrollPane, but I want to change the content in the scrollPane when I load a new playlist. setContent() just adds content. How can I remove the old content in the scrollpa...
Elodea asked 20/11, 2012 at 16:29

1

Solved

I want to make a node present in a ScrollPane anchored to the top (fixed on the Y axis) but capable of scrolling in the X axis. (In Java-FX 2.0) Is this possible?
Situation asked 20/4, 2012 at 0:48

© 2022 - 2024 — McMap. All rights reserved.