Môžem konštatovať, že som už čítal odpovede ostatných užívateľov na túto otázku, ale nikto z nich mi pomohol. Snažím sa program kalkulačka v jazyku python s kivy GUI rozhranie,ten problém je, že nemôžem odstrániť že priestor zvýraznené červenou farbou v priloženej fotografie tu dole. Už som sa snažil s: size_hint: None,None
a size:root.size[0], "5dp"
na mierke BoxLayouts ale nie je to tak fungovalo
[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