- Edited
So, there is this issue I've found that I have been trying to solve over a couple of days. I am unsure whether this is caused by the engine itself as a source code bug or is it the ScrollContainer node or is it my code (which seems unlikely since I've have tried disabling a bunch of lines of code).
Problem: On the ScrollContainer node, there is this unremovable little grey button that is sitting in the top left corner of the node and I cannot get rid of it.
Full Node Hierarchy
ScrollContainer in its natural habitat.
ScrollContainer in the editor.
ScrollContainer in the game. (With the GREY BUTTON, LEFT TOP CORNER.)
Things I've tried:
- Modifying all the properties of the ScrollContainer itself
- Modifying its child (Label)
- Modifying its parent (Panel)
- Commenting a bunch of code and rerun the game
- Removing the script from the node and rerun the game
- Adding a new ScrollContainer node and use that instead
- Restarting the game project (Godot 4.0.2)
- Restarting my computer (Desktop PC, Windows 10)
- Making a new project and testing out the ScrollContainer node there with the same node hierarchy and copy-pasted properties. (Which the tiny grey button does not appear there. So it seems it only appears in the main game project specifically.)
- Searching for solutions on the internet (Youtube, Reddit, GDQuest Discord, and even Godot Forums)
Essential information:
- If possible, I do not wish to use an alternative method like converting it into a normal Control node or other container-type nodes or implement my own ScrollContainer using the Slider nodes.
- Yes, I know the grey thing is a button because I've tried hovering my cursor over it and clicking on it which is doable.
- No, it does not appear in the editor at all.
- When the ScrollContainer is enlarged and shrunken down, the grey thing also does the same.
- I did not add Button.new() to the code at all. It appears by itself apparently. I did not instantiate anything in the tree either. Everything is as what you can see in the Full Node Hierarchy image.
If anyone can solve this, I hope you have a great day. Thank you in advance.