On Saturday 01 December 2007 05:37:00 pm Ed Leafe wrote:
> On Dec 1, 2007, at 8:28 PM, Adrian Klaver wrote:
> > I am afraid that did not work. It seems to be a problem with my
> > setup on a
> > Dapper machine. When I run the program on my laptop which is using
> > Edgy it
> > works.
>
>       Sounds like a difference in wxPython versions on each Ubuntu
> release. I've been using 2.8.x for so long that I don't remember what
> change between 2.7 and 2.8 anymore.
>
> -- Ed Leafe
> -- http://leafe.com
> -- http://dabodev.com

It appears that there is a issue between wxpython versions causing the panel 
not to appear.  So instead of using a dPanel lets change the control to a 
button.

Change the line to read
vs.append(dabo.ui.dButton(self, Caption='Button'))

run the app

then change it to
vs.append(dabo.ui.dButton(self, Caption='Button'),1)

and then

vs.append(dabo.ui.dButton(self, Caption='Button'),1,'x')

Then play around with the paramenters we are passing to the 'vs' sizer.
Change the 1 to a zero.  

Then try changing the sizer from a vertical to a horizontal as in 

self.Sizer =vs= dabo.ui.dSizer("horizontal").  What happens?

Remember the question "what are parameters doing to the objects?"



-- 
John Fabiani


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to