Skip to content
Snippets Groups Projects
Commit 7cd4824c authored by Brady James Garvin's avatar Brady James Garvin
Browse files

Initial commit.

parents
No related branches found
No related tags found
No related merge requests found
*~
.idea
main.py 0 → 100644
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()
order.kv 0 → 100644
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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment