From: Bruce S. <Bru...@nc...> - 2011-03-31 12:54:22
|
scene.x and scene.y control the placement of the window. What you want are scene.width and scene.height. Bruce Sherwood On Thu, Mar 31, 2011 at 2:59 AM, Georges Arsouze <geo...@gm...> wrote: > Hi > Sorry for my poor English > I'm working with visual python under python 3 under mac os 10.6.7 > I'm just beginning > I don't understand why scene.width and scene.height don't woks on my > computer > (If I change the values in the program nothing change) > from visual import * > scene.x=800 > scene.y=120 > scene.title='Thompson1' > scene.widh=800 > scene.height=400 > #scene.autoscale=0 > #scene.range=(100,100,100) > #scene.center=(0,100,0) > balle=sphere(pos=(0,80,0),radius=2) > sol=box(pos=(0,-1,0), size=(10,2,10)) > Regards > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |