#layout #graphics #linear-layout

simple-layout

Simple layout library for embedded-graphics

2 releases

0.0.2 Jan 12, 2024
0.0.0 Jan 12, 2024

#932 in GUI

MIT license

56KB
1.5K SLoC

simple_layout

simple_layout is a more flexible alternative to embedded-layout.

Improvements

  • simpler API
  • Controls minimum and maximum size of every element
  • Allows controlling the weight of every element on expanding linear layouts
  • can draw borders around the layouted elements

Disadventages

  • No additional geometry elements (but you can still use the elements from embedded-layout)
  • Not tested for no-std build

Dependencies

~3–4.5MB
~55K SLoC