DVUI

offsetRowsBy

Set the starting y value in the scroll container to begin rendering rows. Can be used to set the start of rendering if virtual scrolling using variable row heights.

Parameters

#
self:*GridWidget
*GridWidget
offset:f32
f32

Source

Implementation

#
pub fn offsetRowsBy(self: *GridWidget, offset: f32) void {
    self.rows_y_offset = offset;
}