Akascape / CTkXYFrame

A better scrollable frame for customtkinter.
MIT License
47 stars 4 forks source link

Using XYFrame only if table can not fit in the screen? #1

Closed suravi-r closed 1 year ago

suravi-r commented 1 year ago

Hi, I have multiple tables on my UI and the size of the table is all different. Does anyone know how to use the scrollable frame ONLY when the table can't "fit" in the original frame? I'm using the Table widget you created btw!

Akascape commented 1 year ago

@suravi-r this widget automatically hides the scrollbars when the table fit the screen.

suravi-r commented 1 year ago

Oh okay, perfect! Is there anyway I could enable only one of the scrolling? Like I just need it to scroll horizontally (Y) if the number of columns is large

Akascape commented 1 year ago

@suravi-r In that case use the customtkinter scrollframe. Ctkxyframe hides the scrollbars dynamically.

suravi-r commented 1 year ago

oh okay, thank you so much!