#import everything you want
from kivy.core.window import Window #You must import this
Window.size = (600, 600) #Set it to a tuple with the (width, height) in Pixels
#(800, 600) is the default
#Your usual kivy code....
# This is an executable sample but related lines are #1 and #2
from kivy.app import App
from kivy.uix.widget import Widget
from kivy.core.window import Window #1
Window.size = (1200, 600) #2
class MyLayout(Widget):
pass
class MyApp(App):
def build(self):
return MyLayout()
if __name__ == '__main__':
MyApp().run()
import kivy
kivy.require('1.9.0')
from kivy.config import Config
Config.set('graphics', 'width', '200')
Config.set('graphics', 'height', '200')