I have a 4-digit 7-segment display like this one.
I need to attach it to a front panel (as part of a boxed enclosure) that I'm designing. The pins of the display are connected to an PCB via ribbon cables.
I am trying to think what the best way is, to end up with something that is robust enough and looking good. I'm having a bit of a hard time as I don't see any obvious way.
The best I can think of is to make the opening on the panel slightly narrower (say by 1mm per dimension) so that the display can't move forward, and use some hot glue on the inside of the panel to keep the display in place. Alternatively, I could 3D print a custom support to glue on the inside, but I would prefer to keep it simpler.
I am just wondering if I'm missing something obvious to do the job, or if simply there is a better way.
Any help would be highly appreciated.