This works suprisingly well for aligning a display to a 3d printed enclosure. The display is sandwiched between the case and the PCB and a piece of foam is all that's needed to keep it in place.
It looks like this on the outside, without the foam added so it is a bit crooked
@martijnbraam I'm a bit sad that there's a red cable in the yellow port and not a yellow cable