-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-37628: Fix IDLE config sample sizes #14958
bpo-37628: Fix IDLE config sample sizes #14958
Conversation
If the normal background is not white, it makes a jagged border between sample background and following white block.
I am reviewing and making a few edits now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the quick response. It stops the size explosion issue and with a minor tweak each, the samples look as good as they can without letting the boxes get wider (up to some limit, and at best a future issue). (In reviewing, I found a couple of other issues with the highlight sample that I want to fix tomorrow. along with the key bindings).
My main concern is the addition of two new features (the Text subclass and its decorator and associated code) that seem to me not unneeded here. Until persuaded otherwise, I would like the code simplified, but given the time situation, I am willing to try that in a separate PR.
@terryjreedy, I've made the changes you suggested, except for the comment about |
FYI, I put up a cleaned version of the generic scrollable text frame as a gist. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great. I will merge when CI passes after the minor tweaks.
@terryjreedy: Please replace |
Thanks @taleinat for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
Sorry @taleinat and @terryjreedy, I had trouble checking out the |
GH-14980 is a backport of this pull request to the 3.7 branch. |
The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box. (cherry picked from commit 3221a63) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
Thanks @taleinat for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
GH-14981 is a backport of this pull request to the 3.8 branch. |
The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box. (cherry picked from commit 3221a63) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box. (cherry picked from commit 3221a63) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box. (cherry picked from commit 3221a63) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box.
The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box.
The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box.
This fixes the issue where setting a large font size makes the config dialog grow, in some cases making it unusable by pushing the dialog buttons (e.g. "Ok", "Cancel") off-screen.
Tested on Windows 10 and Ubuntu 18.10.
https://bugs.python.org/issue37628