From 44e987c8521a99519350a42292bcfcd28451dcbd Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 20 Dec 2021 10:26:12 +0100 Subject: Async load images --- TODO | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index a898137..a4d3437 100644 --- a/TODO +++ b/TODO @@ -3,4 +3,10 @@ Widget horizontal/vertical expand. Homogeneous sizing for list items. Allow setting list direction. This is more efficient than prepending widgets to a list. Stop rendering scroll view when reaching outside the scissor view. -Widgets such as richtext and label should unload their text when updated but not rendered, this allows the widget to save its render size without saving the render data. \ No newline at end of file +Widgets such as richtext and label should unload their text when updated but not rendered, this allows the widget to save its render size without saving the render data. +If a richtext widget has too little horizontal space and does wordwrap then disable wordwrap and use horizontal scrolling. +Cut widget collision check by scissor. +Handle scrolling when resizing scroll content and widget items change size (images downscaled, richtext wrapping, etc). +Cut event and size calculation for widgets outside scissor. +Calculate text (richtext and label) height better when its a single line. In such cases it should be the glyph height and not character size. +Move richtext vertices to global space and only add vertices for the visible richtext. \ No newline at end of file -- cgit v1.2.3