adafruit / Adafruit_CircuitPython_DisplayIO_Layout

A Circuitpython helper library for display element layout using displayio.
MIT License
9 stars 14 forks source link

Add lines between the cells in the GridLayout #44

Closed FoamyGuy closed 3 years ago

FoamyGuy commented 3 years ago

It would be nice to provide a way within GridLayout to let the user enable some functionality that can draw lines between the cells in the GridLayout.

The most basic implementation might be simply on or off for lines between all cells.

A more advanced implementation could allow the user to specify that they'd like lines between only certain cells that they are able to specify with parameters. This would allow them to visually group cells together that contain things logically grouped within their application / use case.

Ideally this should be done in a way that doesn't require any further library dependencies (so no adafruit_display_shapes) perhaps using vectorio or displayio.Shape