Answers for "how to set the screen size in kivy"

3

how to change window size in kivy python

#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....
Posted by: Guest on July-20-2020
0

kivy resize screen

from kivy.core.window import Window
Window.size = (300, 100)
Posted by: Guest on April-30-2021

Python Answers by Framework

Browse Popular Code Answers by Language