Commit 7cd4824c authored by Brady James Garvin's avatar Brady James Garvin
Browse files

Initial commit.

parents
*~
.idea
from kivy.app import App
from kivy.modules import inspector # For inspection.
from kivy.core.window import Window # For inspection.
class OrderApp(App):
def build(self):
inspector.create_inspector(Window, self) # For inspection (press control-e to toggle).
if __name__ == '__main__':
app = OrderApp()
app.run()
BoxLayout:
orientation: 'vertical'
canvas.before:
Color:
rgba: (0.0, 0.1, 0.3, 1.0)
Rectangle:
pos: self.pos
size: self.size
Label:
text: 'A Restaurant'
font_size: sp(48)
BoxLayout:
orientation: 'horizontal'
Label:
text: 'How much food?'
size_hint: (None, 1.0)
size: self.texture_size
padding: (sp(12), 0)
Slider:
range: (0, 100)
Label:
text: f'Your total is $0.00'
font_size: sp(24)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment