【Kivy】解像度を変更する

  • main.py
from kivy.config import Config
Config.set('graphics', 'width', '1280')
Config.set('graphics', 'height', '720')

from kivy.app import App

class MainApp(App):
    pass

if __name__ == '__main__':
    MainApp().run()```