PySimpleGUI/docs/eCookbook/demo-programs/control-panel.md

14 lines
742 B
Markdown

**Control Panel**
Creates a grid of images with text labels that looks like a typical "control panel".
Note that there is currently a bug with the `Column` Element where the mousewheel only scrolls the Column if mouse is directrly over the scrollwheel.
This code contains a lot of Base64 Images in order to avoid needing to distributes a lot of individual image files with the code. This way a single source file has everything required.
On Windows the window looks like this:
![SNAG-0560.jpg](/api/files/5dd940182f768202342d1604/snag-0560.jpeg "SNAG-0560.jpg")
<iframe src='https://trinket.io/embed/pygame/d12422e22c?start=result' width='100%' height='500' frameborder='0' marginwidth='0' marginheight='0' allowfullscreen></iframe>