Re: [dabo-users] transparent dPanel background

2013-09-17 Thread Ed Leafe
On Sep 16, 2013, at 10:37 PM, Paul McNett p...@ulmcnett.com wrote: The different platforms are different in this regard. Try panel.BackColor = None. Alternatively, why not add a gradient to the panel? You can use: self.gradient = self.drawGradient(orientation=v, color1=grey, color2=white)

Re: [dabo-users] transparent dPanel background

2013-09-17 Thread John Fabiani
On 09/17/2013 05:24 AM, Ed Leafe wrote: On Sep 16, 2013, at 10:37 PM, Paul McNett p...@ulmcnett.com wrote: The different platforms are different in this regard. Try panel.BackColor = None. Alternatively, why not add a gradient to the panel? You can use: self.gradient =

Re: [dabo-users] transparent dPanel background

2013-09-17 Thread Ed Leafe
On Sep 17, 2013, at 9:27 AM, John Fabiani jo...@jfcomputer.com wrote: def onPaint(self, evt): #trying to simulate the MS windows gradient background dc = wx.PaintDC(self) x = 0 y = 0 w, h = self.GetSize() dc.GradientFillLinear((x, y, w, h), 'light

Re: [dabo-users] transparent dPanel background

2013-09-17 Thread John Fabiani
On 09/17/2013 07:31 AM, Ed Leafe wrote: On Sep 17, 2013, at 9:27 AM, John Fabiani jo...@jfcomputer.com wrote: def onPaint(self, evt): #trying to simulate the MS windows gradient background dc = wx.PaintDC(self) x = 0 y = 0 w, h = self.GetSize()

Re: [dabo-users] transparent dPanel background

2013-09-17 Thread John Fabiani
On 09/17/2013 07:48 AM, Ed Leafe wrote: On Sep 17, 2013, at 9:40 AM, John Fabiani jo...@jfcomputer.com wrote: None that I could see. Of course I did not benchmark the routines. I used wx.onPaint because I was hoping I'd get a different result and that it would allow a dynamic color change

Re: [dabo-users] transparent dPanel background

2013-09-17 Thread Ed Leafe
On Sep 17, 2013, at 9:40 AM, John Fabiani jo...@jfcomputer.com wrote: None that I could see. Of course I did not benchmark the routines. I used wx.onPaint because I was hoping I'd get a different result and that it would allow a dynamic color change as I resized the form. I guess getting at

[dabo-users] transparent dPanel background

2013-09-16 Thread John Fabiani
Hi, I don't think it's possible. Can a dPanel have a transparent background? Some of the new GUI's are using gradients as background colors for the forms background. It's suppose to be some how more natural to the human eye and therefore more pleasing. But if a panel can't provide the

Re: [dabo-users] transparent dPanel background

2013-09-16 Thread Paul McNett
On 9/16/13 8:30 AM, John Fabiani wrote: Can a dPanel have a transparent background? Some of the new GUI's are using gradients as background colors for the forms background. It's suppose to be some how more natural to the human eye and therefore more pleasing. But if a panel can't provide