I have a scrollpanel test headers in it. Through debug, I see that the panel itself is there, but the content is not displayed in it, although it seems to be. Maybe someone knows how this is possible? The panel itself adjusts to the size of the table, but the table itself, with the content inside, is not visible.
1
There are 1 best solutions below
Related Questions in LIBGDX
- Lib GDX exported jar file does not detect assets
- LibGDX Normal Textures Not Showing Up in 3D (Blender) Model Java
- How do I resolve this rendering error with LibGDX and a Shadertoy GLSL Shader?
- Multiple TiledMap layers not rendering
- How to retain score when transitioning between Pause Scene to Game Scene?
- How to convert a text drawn using BitmapFont in LibGDX in an array of Sprites/TextureMapObjects?
- LibGDX Crashing when removing entity from its list
- How to change `Vector2` 's values in the virtual `render(delta:Float)` method of the Screen interface of com.badlogic.Gdx
- error build java project in vscodeThe project was not built due to "core does not exist". The project was not built due to "desktop does not exist"
- iOS app/game crashes with scene update failed message after launching using Libgdx and robovm
- Not able to catch errors in websocket onMessage
- Simple MMORPG - which protocol, technologies
- task superDev gives an error. Below is the result of stacktrace
- how can I fix this error? Libgdx and Gradle
- libGDX JSON File Reading Error: Unable to Load Skin Resources
Related Questions in LIBKTX
- Why this label is rendered twice?
- How to create new module (android library) into libgdx apllication? (if it is possible)
- libgdx holo-skin: no No SelectBoxStyle registered with name: default
- I want to have a minigame inside my notetaking application in android
- Libgdx: Dispose of screen not working on android
- ScrollPanel in libgdx (libktx)
- Run while loop in parallel
- Async fields generation and TextureRegion rendering problem
- Custom actor for BitmapFont (libgdx)
- ModelBuilder end() not working as it should "com.badlogic.gdx.utils.GdxRuntimeException: Call end() first"
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I found the root cause of the issue - you incorrectly added the actors to the stage, which resulted in
Window's andScrollPane'sStageto benull. You have to change this line inGameManager:To this line:
While your approach did add the actors to the
Stage, they were not added to the rootGroupand theirStagevariable was not set, which resulted in weird bugs like this one. Always prefer to use the public API methods instead of accessing the class variables directly.About pinpointing the issue: if you look into the
ScrollPanerendering code, you'll notice that it only renders it children ifclipBeginreturns true. If you dig deeper,clipBeginhas this particular check that prevented the children from being drawn:if (stage == null) return false;. Basically, you cannot use aScrollPanewithout aStage.