Re: Window title is not accessible
M A <[email protected]>
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Message-ID | <[email protected]> |
> On Apr 7, 2019, at 2:49 PM, Igor Korot <[email protected]> wrote: > > Hi, > > On Sun, Apr 7, 2019 at 12:43 PM M A <[email protected]> wrote: >> >> >>> On Apr 7, 2019, at 2:01 PM, Igor Korot <[email protected]> wrote: >>> >>> Hi, >>> >>> On Sun, Apr 7, 2019 at 12:26 PM M A <[email protected]> wrote: >>>> >>>> >>>>> On Apr 7, 2019, at 12:19 PM, Igor Korot <[email protected]> wrote: >>>>> >>>>> Hi, >>>>> As I wrote in one of my previous e-mails after switching branches >>>>> wxGlade title bar on my OSX become un-accessible. >>>>> >>>>> Please see the screenshot. >>>>> >>>>> Do you see the same issue? >>>>> >>>>> Thank you. >>>>> <Screen Shot 2019-04-07 at 11.12.54 AM.png><Screen Shot 2019-04-07 at 11.13.44 AM.png>_______________________________________________ >>>> >>>> I think I know what is wrong. You are using a laptop which probably has a max resolution 1280x800. Since it looks like wxGlade's window is taller than your screen, the top is clipped. >>>> >>>> Could you run this program and tell me what it outputs: >>>> >>>> import wx >>>> app = wx.App(False) >>>> width, height = wx.GetDisplaySize() >>>> print("Resolution: " + str(width) + "x" + str(height)) >>> >>> Result is: >>> >>> [code] >>> Last login: Fri Mar 29 21:00:57 on ttys003 >>> MyMac:wxGlade igorkorot$ python >>> Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 12:54:16) >>> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin >>> Type "help", "copyright", "credits" or "license" for more information. >>>>>> import wx >>>>>> app = wx.App(False) >>>>>> width,height = wx.GetDisplaySize() >>>>>> print "Resolution: " + str(width) + "x" + str(height) >>> Resolution: 1366x768 >>>>>> >>> [/code] >>> >>> But this shouldn't be the case. >>> >>> As I said when I just installed wxGlade the window was displaying properly. >>> >>> Thank you. >>> >>>> >>>> If your laptop's screen is too small, then a simple fix would be to detect when the resolution is low and resize wxGlade's window accordingly. >> >> I see you are using Python 2.7.11. I'm using Python 3.7.2, wxPython 4.0.3, and wxGlade 0.9.3. I am on a much larger screen that you so that could be a factor. >> >> Could you supply this information (see wxGlade's About dialog): >> - wxGlade version: >> - wxPython version: > > wxGlade version - 0.9.2 > wxPython version - 3.0.2.0 > >> >> Are you able to try wxGlade on Python 3.x? > > I'm using system installed python on OSX 10.8. > > At the moment I don't have anything else. > > Thank you. The homebrew command makes install python easy if you decide try something else. https://brew.sh Good luck.