main data
This commit is contained in:
32
src/kv/settings.kv
Normal file
32
src/kv/settings.kv
Normal file
@@ -0,0 +1,32 @@
|
||||
<settings.kv>
|
||||
<SettingsScreen>:
|
||||
BoxLayout:
|
||||
orientation: 'vertical'
|
||||
padding: 10
|
||||
spacing: 10
|
||||
|
||||
Label:
|
||||
text: 'Settings'
|
||||
font_size: 24
|
||||
size_hint_y: None
|
||||
height: 40
|
||||
|
||||
Label:
|
||||
text: 'Quick Connect Code:'
|
||||
TextInput:
|
||||
id: quick_connect_code
|
||||
multiline: False
|
||||
|
||||
Label:
|
||||
text: 'Server IP/Domain Name:'
|
||||
TextInput:
|
||||
id: server_ip
|
||||
multiline: False
|
||||
|
||||
Button:
|
||||
text: 'Save Settings'
|
||||
on_press: app.save_settings(quick_connect_code.text, server_ip.text)
|
||||
|
||||
Button:
|
||||
text: 'Back to Main'
|
||||
on_press: app.change_screen('main')
|
||||
Reference in New Issue
Block a user