> just anchor all the edges :)
> 
> say your RootWidget has an initial size of 640,480
> 
> >>> but = pudding.control.Button(soya.root_widget, 'button', 0, 0, 320, 480)
> >>> but.anchors = pudding.ANCHOR_ALL
> 
> now the button will always take up exactly half the screen 

err actually this is rubbish. i thought it should of done that...

i tried to make you a test to see - lucky i did!



Reply via email to