【发布时间】:2021-04-28 15:39:38
【问题描述】:
我是初学者。我有这个 kv 代码:
BoxLayout:
orientation: "vertical"
size: root.width, root.height
Label:
id: name_label
text: "Exercises Appear Here"
font_size: 32
Image:
id: image_window
size_hint: (1, .5)
source: 'images/dim_6543.jpg'
Button:
background_normal: ''
background_color: 0, .3, .4, .95
size_hint: (1, .5)
font_size: 32
text: "Press For Next Exercise"
on_press: root.press()
我明白了: output image with label, image, button
和弦图应该有白色背景。我已经搜索并尝试了几个小时,几天。如何让中间部分(图像)在和弦图周围显示白色背景?和弦图没有任何周边背景;它被裁剪成图表。
任何帮助将不胜感激......
谢谢。
【问题讨论】:
标签: image colors background kivy