Skip to content

Commit

Permalink
ems dinput fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonastirona committed Nov 5, 2023
1 parent 5feeffc commit 3e846a2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ems_dinput.kv
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

Label:
text: "Access Info"
font_size: 100
font_size: min(self.width*0.3, self.height) * 0.5
font_name: 'Roboto-Bold'
color: rgba(Colors.BLUE)

Expand All @@ -19,12 +19,13 @@

Label:
text: "Enter Patient Drivers License #"
font_size: 45
font_size: min(self.width*0.2, self.height) * 0.35
font_name: 'Roboto-Bold'
color: rgba(Colors.ACCENT_BLUE)

TextInput:
id: license
font_size: min(self.width*0.3, self.height) * 0.4
size_hint: (.7, .5)
canvas.after:
Color:
Expand All @@ -37,8 +38,8 @@
text: "Check"
color: rgba(Colors.BLUE)
background_normal: '' #https://stackoverflow.com/a/49100826/12514570
text: 'Login'
font_size: 45
text: 'Enter'
font_size: min(self.width*0.3, self.height) * 0.5
on_press:
root.manager.current = 'ems dashboard' if root.check_dl_num(license.text) else 'ems dinput'

Expand Down

0 comments on commit 3e846a2

Please sign in to comment.