Community
Problem in Executing a File
by: neutral_boy, 8 years ago
Last edited: 8 years ago
<pre class='prettyprint lang-py'>
[
from kivy.app import App
from kivy.lang import Builder
from kivy.factory import Factory
from kivy.uix.boxlayout import BoxLayout
kv = '''
BoxLayout:
<BoxLayout>:
size_hint: 0.95, 0.50
pos_hint: {"x":0, 'y':0.25}
font_size: 50
<Label>:
text:"How would u greet a person??"
size_hint: 0.25,0.5
font_size: 25
pos_hint: {"y":0.25, 'x':0.25}
## Label:
## text: "How would u greet a person??"
<BoxLayout>:
Button:
text: "Hi!"
Button:
text: "Hello!"
Button:
text: "Ahm! Ahm!"
Label:
text: "How would u greet a person??"
'''
class test13(App):
def build(self):
return Builder.load_string(kv)
if __name__ == '__main__':
test13().run()
]
##Im recieving an error in the display. Please help me in fixing it my whole Code has been posted
×
You must be logged in to post. Please login or register an account.