I have tried looking for answers on this site, but I couldn't find one. If I change the size of my window, using the change_size() function, there is a white line. Anyone know how to solve this?
import pygame
pygame.init()
class Window:
def __init__(self,title='Window', height=500,width=500):
pygame.display.set_caption(title)
screen = pygame.display.set_mode((height,width))
def change_caption(self, caption):
pygame.display.set_caption(caption)
def change_size(self,height=500, width=500):
screen = pygame.display.set_mode((height,width))