You can change the config dynamically in the kivy code using Config.set()
https://kivy.org/doc/master/api-kivy.config.html?highlight=config#applying-configurations
Note from the docs: In order to avoid situations where the config settings do not work or are not applied before window creation (like setting an initial window size), Config.set should be used before importing any other Kivy modules. Ideally, this means setting them right at the start of your main.py script.
Because these configurations should be changed before importing any other kivy modules, I often put set configs in a separate file I call startupconfilg.py, and make the first line of my “main.py” file:
import startupconfig
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/b5905bc9-8691-49e5-a03d-50b4d4a34aeen%40googlegroups.com.