Kivy, Input Methods© dotmodus

Kivy, Input Methods

Kivy, Input Methods

Thank for the help of 毛毛虫 from a Kivy QQ Group

Add the codes below at the begin of your main.py


from kivy.uix.dropdown import DropDown
from kivy.core.window import WindowBase
from kivy.core.text import LabelBase, DEFAULT_FONT
from kivy.resources import resource_add_path
## Custmer Functions
### Crawler for DB

resource_add_path("./font")
LabelBase.register(DEFAULT_FONT, 'FZYanZQKSJF.ttf')

WindowBase.softinput_mode = "below_target"

And for doing so, make sure you are
not using Gboard!
not using Gboard!
not using Gboard!

BakAx0.png

Author

Karobben

Posted on

2020-10-31

Updated on

2024-01-22

Licensed under

Comments