1
私はkivyを初めて使っています。 BoxLayoutクラスのorientation
プロパティが混乱しています。私が縦向きに設定すると、子ウィジェットは実際には横に設定され、その逆もあります。何が間違っているのですか?なぜそれがそうであり、より直感的な方法ではないと決心されたのですか?これは、このウィンドウを生成Kivy BoxLayout.orientation
# main.py
from kivy.app import App
class LernApp(App):
pass
if __name__ == "__main__":
LernApp().run()
# lern.kv
BoxLayout
orientation: "vertical"
Button
text: "Button1"
Button
text: "Button2"
::ウィジェットは、垂直に積層され
私は「子ウィジェットは実際には水平に設定されています」とは分かりませんが、私の意見では縦配置です。 – comodoro