My environment: python 2.7.1 and wxpython 2.9.1.1 under Windows XP with default theme.
I created a Dialog with a Notebook on it. And then, I put some StaticText/TextCtrl/FileBrowseButton on a Panel and add Panel as a Notebook’s page. Everything is fine except that only FileBrowseButton’s background colour(a little grey) is a bit different with theme’s(very white). I ran DEMO code to find the solution, but same problem happened there. Finally, I changed back to wxpython 2.8.11.0 and FileBrowseButton’s background colour is same as theme’s.
I'm not sure, but I see the same behavior in the demo with the same
setup, indicating a 2.9.1.1 thing.
Josh
···
On Mon, Jan 31, 2011 at 10:56 AM, Mark Weng <wenkuoweng@163.com> wrote:
Hi,
My environment: python 2.7.1 and wxpython 2.9.1.1 under Windows XP with
default theme.
I created a Dialog with a Notebook on it. And then, I put some
StaticText/TextCtrl/FileBrowseButton on a Panel and add Panel as a
Notebook's page. Everything is fine except that only FileBrowseButton's
background colour(a little grey) is a bit different with theme's(very
white). I ran DEMO code to find the solution, but same problem happened
there. Finally, I changed back to wxpython 2.8.11.0 and FileBrowseButton's
background colour is same as theme's.
I don't see anything like that with my current 2.9.2 workspace on Windows 7, so it may have been fixed already, or is XP specific. Can you send a small screen shot showing the issue so I can be sure I'm looking for the right problem?
···
On 1/31/11 10:56 AM, Mark Weng wrote:
Hi,
My environment: python 2.7.1 and wxpython 2.9.1.1 under Windows XP with
default theme.
I created a Dialog with a Notebook on it. And then, I put some
StaticText/TextCtrl/FileBrowseButton on a Panel and add Panel as a
Notebook's page. Everything is fine except that only FileBrowseButton's
background colour(a little grey) is a bit different with theme's(very
white). I ran DEMO code to find the solution, but same problem happened
there. Finally, I changed back to wxpython 2.8.11.0 and
FileBrowseButton's background colour is same as theme's.
Is this an issue or am I missing something?
Please note that the default font is also different. In wxpython 2.9.1.1, it is my local language -simsum.tcc(chinese simplfied). But in wxpython 2.8.11.0 or before, it's like 'tahoma' or 'ms dlg 2'. I ever changed to other popular theme and the font seems to look same, but the background problem is still there.
Mark
···
----- Original Message -----
From: "Robin Dunn" <robin@alldunn.com>
To: <wxpython-users@googlegroups.com>
Sent: Tuesday, February 01, 2011 5:20 AM
Subject: Re: [wxPython-users] different background colour between FileBrowseButton and XP theme
On 1/31/11 10:56 AM, Mark Weng wrote:
Hi,
My environment: python 2.7.1 and wxpython 2.9.1.1 under Windows XP with
default theme.
I created a Dialog with a Notebook on it. And then, I put some
StaticText/TextCtrl/FileBrowseButton on a Panel and add Panel as a
Notebook's page. Everything is fine except that only FileBrowseButton's
background colour(a little grey) is a bit different with theme's(very
white). I ran DEMO code to find the solution, but same problem happened
there. Finally, I changed back to wxpython 2.8.11.0 and
FileBrowseButton's background colour is same as theme's.
Is this an issue or am I missing something?
I don't see anything like that with my current 2.9.2 workspace on
Windows 7, so it may have been fixed already, or is XP specific. Can
you send a small screen shot showing the issue so I can be sure I'm
looking for the right problem?
I just built wxpython 2.9.2.0(svn 66824) and this issue has been fixed.
Mark
···
----- Original Message -----
From: "Robin Dunn" <robin@alldunn.com>
To: <wxpython-users@googlegroups.com>
Sent: Tuesday, February 01, 2011 5:20 AM
Subject: Re: [wxPython-users] different background colour between FileBrowseButton and XP theme
On 1/31/11 10:56 AM, Mark Weng wrote:
Hi,
My environment: python 2.7.1 and wxpython 2.9.1.1 under Windows XP with
default theme.
I created a Dialog with a Notebook on it. And then, I put some
StaticText/TextCtrl/FileBrowseButton on a Panel and add Panel as a
Notebook's page. Everything is fine except that only FileBrowseButton's
background colour(a little grey) is a bit different with theme's(very
white). I ran DEMO code to find the solution, but same problem happened
there. Finally, I changed back to wxpython 2.8.11.0 and
FileBrowseButton's background colour is same as theme's.
Is this an issue or am I missing something?
I don't see anything like that with my current 2.9.2 workspace on
Windows 7, so it may have been fixed already, or is XP specific. Can
you send a small screen shot showing the issue so I can be sure I'm
looking for the right problem?