From: Ronny De W. <ron...@gm...> - 2005-12-19 09:23:29
|
This seems to be a PythonCard problem on my Windows configuration, some more examples: http://www.5consulting.com/img/tmp/screen1.jpg resourceEditor Property Editor: - incomplete button at the right bottom PythonCard Samples: custdb: http://www.5consulting.com/img/tmp/screen2.jpg - overlapping fields dbBrowser: http://www.5consulting.com/img/tmp/screen3.jpg - database text field only half visible minimalList: http://www.5consulting.com/img/tmp/screen4.jpg - horizontal scrollbar shouldn't be there ? moderator: http://www.5consulting.com/img/tmp/screen5.jpg - fonts look too big, ie. "Time Left:" does not fit mp3player: http://www.5consulting.com/img/tmp/screen6.jpg - buttons disappear at bottom of the window I also looked at the wxPython samples and they look ok. I recall here my setup: WinXP, python 2.4.2, wxPython 2.6.1.0, pythoncard 0.8.1 After some searching on the internet i found the following on http://www.wxwindows.org/prepare.htm concerning preparing for wxWidgets 2: " Be aware that under Windows, *font sizes will change* to match standard Windows font sizes (for example, a 12-point font will appear bigger than before). Write your application to be flexible where fonts are concerned. Don't rely on fonts being similarly-sized across platforms, as they were (by chance) between Windows and X under wxWidgets 1.66. Yes, this is not easy... but I think it's better to conform to the standards of each platform, and currently the size difference makes it difficult to conform to Windows UI standards. You may eventually wish to build in a global 'fudge-factor' to compensate for size differences. The old font sizing will still be available via wx_setup.h, so do not panic... " Does that give any clue ? Ronny Alex Tweedly wrote: > Ronny De Winter wrote: > >> Alex, you might be right that it is the default font. > > > Or I might not :-( > I noticed that your euronext browser specifies the font size for the > multiColumnList. > >> I have similar problems with some of the PythonCard samples, ie. in >> the mp3player the buttons almost completely dissappear at the bottom >> of the window. Another example is minimalList which ads an horizontal >> scrollbar. >> >> Where are these default fonts set ? Somewhere in wxPython or >> wxWindows ? >> > Probably in wxWidgets - but because at least one instance that causes > a problem has a font size specification, I'm not sure default fonts > are the answer. Sorry - not sure what it can be (and since it always > looks ok for me here, I'm not sure what to look at next). > > Some thoughts you could look at ... > How does it look in the resorceEditor ? > How do the wxDemo apps look (note you'll probably need to compare to > screenshots, because those apps that use sizers will probably > auto-adjust to look OK; only exception is where there is text/button > aligned with a fixed size graphic - like your "Update"button). > > |