A panel positioning device utilizes fixed positioning elements and the trench so as the fixed positioning device may apply to the panel with different sizes. The positioning element may slide in the trench to the corresponding location and be fixed there. The location where the positioning element fixed in is a gap between the panel and the printed wiring board (PWB) or at an edge of the panel.