I'm having a little bit of trouble, I am trying to make a dropdown box which joins with a text box beside it. I have looked everywhere I can and cant manage to find something like this. It has to look like this:

![enter image description here](https://i.stack.imgur.com/g8izh.jpg)

How can I do this?