Skip to content

add both vertical and horizontal scroll in ctk_scrollable_frame.py#1768

Closed
esaenzzu wants to merge 1 commit intoTomSchimansky:masterfrom
esaenzzu:add_both_vertical_and_horizontal_scroll
Closed

add both vertical and horizontal scroll in ctk_scrollable_frame.py#1768
esaenzzu wants to merge 1 commit intoTomSchimansky:masterfrom
esaenzzu:add_both_vertical_and_horizontal_scroll

Conversation

@esaenzzu
Copy link
Copy Markdown

user now can select if the frame should have both vertical and horizontal scrolls when creating a ctk_scrollable_frame

@esaenzzu esaenzzu changed the title add_both_vertical_and_horizontal_scroll in ctk_scrollable_frame.py add both vertical and horizontal scroll in ctk_scrollable_frame.py Jun 26, 2023
@Akascape
Copy link
Copy Markdown

Akascape commented Jul 3, 2023

@esaenzzu
I made this new CTkXYFrame widget which have both horizontal and vertical scrollbars in the same frame.

Screenshot

@esaenzzu
Copy link
Copy Markdown
Author

esaenzzu commented Jul 3, 2023

hi @Akascape are there any plans to add this to the main customTkinter package?

@FedericoSpada
Copy link
Copy Markdown
Collaborator

Hi,
the same change has been proposed in #2361. I like that solution more because it avoids some code duplication.
Moreover, here, configure() and cget() methods don't work anymore since "_scrollbar" attribute doesn't exist when orientation == "both".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants