在Kivy中,有没有办法将图像对象作为按钮背景传递,而不是图像文件名?
button.background_normal属性只接受字符串.我想自定义图像属性,例如allow_stretch = False.
button.background_normal
allow_stretch = False
如果成功,我如何在按钮内指定图像对齐,例如.使其左上角对齐?
python kivy
kivy ×1
python ×1