Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
AboutBox resizes when being used (license text too wide) #116
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. |
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.)