I’m developing the MicroPython Tools plugin - one of its features is a File System tab, which displays the all of the files, folders and volumes on the connected device using a tree.
I’ve been noticing an issue with rendering of the dragged items and drop locations. Unlike with the Project file tree they don’t seem to be taking up the full width of their row and also when an item in my tree is dragged instead of its icon and name being shown a gray rectangle is visible. More in the photos below.
Similarly, when I right click any of the files to display a context menu, it can be quite tricky to click on it if the file’s name is short, because I can only get the context menu to appear if I click on the part where the text is rendered - again the file doesn’t take up the full row.
The tree is set up in the above file.
Could someone please point me in the direction of what I am missing?