Skip to content

[BUG/idk] Container is not scorllable / window overflows console window when too large and cant set size #155

@TymekBrunka

Description

@TymekBrunka

Describe the bug
So i load directories and display as buttons in vertical order and when there are too many, it just overflows terminal window

To Reproduce
add a lot of lines of labels or whatever to window to expand its size to be larger than terminal window and render it.

Expected behavior
I expected that if it is from ScrollableWidget class, it will add scrollbar or just not render things that overflow the container.

System information
linux amd64

Add the output of "ptg --version" in this box.
PyTermGUI version 7.7.2

System details:
    Python version: 3.12.7
    $TERM:          xterm-kitty
    $COLORTERM:     truecolor
    Color support:  ColorSystem.TRUE
    OS Platform:    Linux-6.11.8-zen1-2-zen-x86_64-with-glibc2.40

Possible cause
Unfinished library or doing something wrong.

Possible solution
idk

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions