2004-04-13, 13:11
here's a simple little patch for gui.py so it stretches the background to the right size on pal systems:
def ( self, title, width=-1, height=-1 ):
if width == -1:
width = self.getwidth()
if height == -1:
height = self.getheight()
self.width = width
self.height = height
this way it uses the default size of the screen rather than hard-coded values.
def ( self, title, width=-1, height=-1 ):
if width == -1:
width = self.getwidth()
if height == -1:
height = self.getheight()
self.width = width
self.height = height
this way it uses the default size of the screen rather than hard-coded values.