我状态,我已经读答复的其他用户到这个问题,但没有人帮我的。 我试程序计算器在蟒蛇的 码图形界面,他的问题是,我可以不删除该 空间强调了 在红在所附的照片下来这里。 我已经尝试过: size_hint: None,None
和 size:root.size[0], "5dp"
规模的BoxLayouts但是它不工作了
[1]: https://i.stack.imgur.com/y1ZwF.png
BoxLayoutExample:
<BoxLayoutExample>:
orientation: "vertical"
Label:
text: "0"
font_size: "30dp"
BoxLayout:
orientation: "horizontal"
Button:
text: "7"
size_hint: .1, .3
Button:
text: "4"
size_hint: .1, .3
Button:
text: "1"
size_hint: .1, .3
BoxLayout:
orientation: "horizontal"
Button:
text: ","
size_hint: .1, .3
Button:
text: "0"
size_hint: .1, .3
Button:
text: "="
size_hint: .1, .3