GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — AboutBox resizes when being used (license text too wide) · Issue #116 · PythonTurtle/PythonTurtle

AboutBox resizes when being used (license text too wide) #116

New issue
Copy link
New issue
Copy link
Open
Open
AboutBox resizes when being used (license text too wide)#116
Copy link
Labels
aestheticNot a strictly technical problem, but aesthetically annoyingNot a strictly technical problem, but aesthetically annoying

Description

@bittner
bittner
opened on Sep 26, 2018
Issue body actions

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.)

Activity

  1. cool-RR commented on Sep 26, 2018

    @cool-RR
    cool-RR
    on Sep 26, 2018 via email
    Member
    More actions
    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> .
  2. bittner commented on Sep 26, 2018

    @bittner
    bittner
    on Sep 26, 2018
    MemberAuthor
    More actions

    Access to that function(s) seems to be hidden by the AboutBox class. We don't control the Show() method. That's probably the price for convenience.

    Similar issues: (StackOverflow)

    • xPython StaticText Issue in my Code
    • wxpython sizer layout issues

    Related classes:

    • wx.adv.AboutBox
    • wx.adv.AboutDialogInfo
  3. cool-RR commented on Sep 26, 2018

    @cool-RR
    cool-RR
    on Sep 26, 2018 via email
    Member
    More actions
    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> .
    Reacted by Peter Bittner
  4. bittner commented on Sep 26, 2018

    @bittner
    bittner
    on Sep 26, 2018
    MemberAuthor
    More actions

    Probably not worth the effort.

  5. bittner
    added
    aestheticNot a strictly technical problem, but aesthetically annoyingNot a strictly technical problem, but aesthetically annoying
    on Mar 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    aestheticNot a strictly technical problem, but aesthetically annoyingNot a strictly technical problem, but aesthetically annoying

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.