guiExample - What to have a filled and a button on same line

I’m trying to modify the guiExample, but I’m having a problem. In the gui menu I’m trying to make it so that a button and a filled appear in the same line. But I haven’t been able to do it. Any help would be appreciated.