Commit graph

4 commits

Author SHA1 Message Date
59710c8162 Fix Predrawn not drawing cursor 2023-04-17 09:38:00 +02:00
d0b3b9edd4 Fix Predrawn size calculations
Previously, Predrawn would use its parent frame's size. Now, it uses the
size requested by the widget. Because of this, it no longer requires a
full &mut Frame, but only a &mut WidthDb.

To set a maximum size, the widget can be wrapped inside a Resize.
2023-04-14 01:51:40 +02:00
007493f136 Derive more traits for widgets 2023-04-08 15:40:14 +02:00
88e66e17ec Add Predrawn widget 2023-04-06 03:00:37 +02:00