Skip to content Skip to sidebar Skip to footer

How To Position A Borderless Window In Kivy

I was making an app with Kivy in python, and to make things a tad more stylish, I thought I could remove the border on the window and create by own: from kivy.config import Config

Solution 1:

Borderless:

from kivy.config import Config
Config.set('graphics','borderless',1)
Config.set('graphics','resizable',0)

at the top of your file before anything else. Just the core(Window) will remain.

Position:

Config.set('graphics','position','custom')
Config.set('graphics','left',500)
Config.set('graphics','top',10)

the same condition applies for all Config.set().

Post a Comment for "How To Position A Borderless Window In Kivy"