-
Notifications
You must be signed in to change notification settings - Fork 108
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
AboutBox resizes when being used (license text too wide) #116
Labels
aesthetic
Not a strictly technical problem, but aesthetically annoying
Comments
I vaguely remember that wxPython has things like that. Try `.Layout()` or
`.Fit()`.
…On Wed, Sep 26, 2018 at 11:35 AM Peter Bittner ***@***.***> wrote:
Currently, when you open the About dialog window and click through to
display the license you notice that the window is resizing. It seems that
this is due to the fact that portion of the license text that is written in
CAPTIAL LETTERS is too wide to display.
Is there a way to make the dialog window calculate the required width
*before* opening the dialog window? (Kind of, window.pack() in other
languages.)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#116>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADdypt163MsM5IiC-q6zI07lDbkECJcks5uezw9gaJpZM4W6J4h>
.
|
Access to that function(s) seems to be hidden by the AboutBox class. We don't control the Similar issues: (StackOverflow) Related classes: |
I understand. If you'd like to create our own custom class for that, that's
a solution.
…On Wed, Sep 26, 2018 at 12:25 PM Peter Bittner ***@***.***> wrote:
Access to that function(s) seems to be hidden by the AboutBox
<https://github.com/cool-RR/PythonTurtle/blob/master/pythonturtle/application.py#L210-L211>
class. We don't control the Show() method. That's probably the price for
convenience.
Similar issues: (StackOverflow)
- xPython StaticText Issue in my Code
<https://stackoverflow.com/questions/22542264/wxpython-statictext-issue-in-my-code>
- wxpython sizer layout issues
<https://stackoverflow.com/questions/51230178/wxpython-sizer-layout-issues>
Related classes:
- wx.adv.AboutBox
<https://wxpython.org/Phoenix/docs/html/wx.adv.functions.html?highlight=aboutbox#wx.adv.AboutBox>
- wx.adv.AboutDialogInfo
<https://wxpython.org/Phoenix/docs/html/wx.adv.AboutDialogInfo.html>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#116 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADdyrHlepYHwkamWQvZwuv31RLY1jruks5ue0fogaJpZM4W6J4h>
.
|
Probably not worth the effort. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, when you open the About dialog window and click through to display the license you notice that the window is resizing. It seems that this is due to the fact that portion of the license text that is written in CAPTIAL LETTERS is too wide to display.
Is there a way to make the dialog window calculate the required width before opening the dialog window? (Kind of,
window.pack()
in other languages.)The text was updated successfully, but these errors were encountered: