Re: Window title is not accessible
Igor Korot <[email protected]>
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Message-ID | <CA+FnnTzr1NAxaCjFC+PJe=QOmb5j3_YH_z6BSFqd2E826sDQqA@mail.gmail.com> |
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. > > > > _______________________________________________ > wxGlade-general mailing list > wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/wxglade-general