I guess you could also have wired your pots, to be able to get the pcb away from the DC powerjack, and keep your first enclosure ?
with pots connected with wires, the pcb would be less stable, but you can use some piece of foam, plastic or cardboard to keep it steady in the closed enclosure.