나는 내가 이미 답변을 읽고 다른 사용자의 이 질문에 하지만 그들 중 누구도 도움이되었습니다. 내 프로그램에서 계산기 python 과 고급 프로그래밍을 GUI 인터페이스,그는 문제는 제거할 수 있는 공간 강조 표시 에 빨간색으로 연결된 사진은 여기까지입니다. 이미 시도와 함께: 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