add(element/scrollable): implement content provider
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m49s
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m49s
However this is only working for the same size as the parent container (i.e. same `Size`). The `.resize` event for the `Container` of the scrollable element needs to be the necessary and/or required size for the contents (regardless of the screen viewport).
This commit is contained in:
@@ -38,7 +38,9 @@ pub fn App(comptime E: type) type {
|
||||
return struct {
|
||||
pub const Event = mergeTaggedUnions(event.SystemEvent, E);
|
||||
pub const Container = @import("container.zig").Container(Event);
|
||||
pub const Element = @import("element.zig").Element(Event);
|
||||
const element = @import("element.zig");
|
||||
pub const Element = element.Element(Event);
|
||||
pub const Scrollable = element.Scrollable(Event);
|
||||
|
||||
queue: Queue(Event, 256),
|
||||
thread: ?std.Thread,
|
||||
|
||||
Reference in New Issue
Block a user