I am using the latest release of wxwindows, python card
and python on xp. While in resource editor I had a
problem with all static text fields showing with a sunken
border. The fix is to specify no border in the custom
statictext.py used for the resource editor. I just had to
add the wxwxBORDER_NONE flag to fix this.
style = self.__getAlignment(aResource.alignment) |
wx.wxCLIP_SIBLINGS | wx.wxBORDER_NONE
Logged In: YES
user_id=228025
Can you confirm the versions of PythonCard, wxPython, and Python you
are using by copying and pasting the version info from the PythonCard
About dialog (run any sample with the -d command-line option).
Do the StaticText examples in the wxPython demo also have sunken
borders? Those don't specify BORDER_NONE as part of the style.
Finally, did you install with or without the "Manifest files for XP LnF",
which is one of the options in the wxPython installer?
Logged In: YES
user_id=694533
Here is the version information
PythonCard version: 0.7.3.1
wxPython version: 2.5.1.5
PyCrust version: 0.9.4
Python version: 2.3a1 (#38, Dec 31 2002, 17:53:59) [MSC
v.1200 32 bit (Intel)]
Platform: win32
Only the resource editor ever exibited this behaviour. After
some
debugging I found it was only the custom static text widget
used just for the resource editor that was causing the issue.
Logged In: YES
user_id=228025
Okay, now I know what the problem is, you installed 0.7.3.1 over an old
version of PythonCard that still had the appcomponents dir. You might
have some other cruft modules in your dirs as well. You should probably
uninstall PythonCard or simply delete the PythonCardPrototype dir and
reinstall. If that doesn't solve the problem we can reopen this bug report.