Ah well. I updated the xml and code above to show my final result. I just had to change it for when the scrollbar was present. My code was a bit off
It works nicely and doesn't look too shabby overall. I'll probably change it to have the dropdown menu located at the bottom as well. But I'll do that when I release the window for download.