Added feature (orientation= 'both') and fixed padding issues#2791
Added feature (orientation= 'both') and fixed padding issues#2791Trucee wants to merge 1 commit into
Conversation
|
@Trucee |
|
Hi, At the moment, I'm waiting myself for the original owner of the repository to merge all changes I've made from the Develop branch to the main one. I intend to add the proposed feature in one way or another, but I can't promise when it will happen. |
|
Hi,
You can find the changes in the new repository where I'm continuing the development: Custom2kinter. |

✨ Added Feature:
orientation="both"Summary
Added support for
orientation="both"to allow simultaneous horizontal and vertical scrolling.Previously, widgets only supported:
"vertical""horizontal"Now users can use:
to enable scrolling in both directions.
Example Usage
This allows content larger than the container to scroll both vertically and horizontally.

Behavior
"vertical"→ vertical scrollbar only"horizontal"→ horizontal scrollbar only"both"→ both scrollbars appear when neededBackward compatibility is preserved.
Existing code using
"vertical"or"horizontal"works unchanged.🛠 Fix: Border_width
Issue
when user increase Border_width empty space between label and canvas increase automatically.
Before
After
Combine:
✅ Why This Improvement Is Useful
Test script