Skip to content

tui-scrollview: make size and page_size public #328

Description

@pmielle

Hello,

I have a feature request for tui-scrollview:

I would like to know if there is a reason why ScrollViewState has a getter for "offset" (*) but not for "size" and "page_size".
I am writing some logic that would need to get these (scroll an element into view depending on if it is offscreen or not..)

thanks! and thanks for the work on this crate, too

(*)

pub const fn offset(&self) -> Position {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions