Changes made on UI for Desktop and Mobile Clients

This commit is contained in:
surbhi 2018-07-05 19:15:18 +05:30
parent 4770790597
commit 7aac991c4f
No known key found for this signature in database
GPG Key ID: 88928762974D3618
2 changed files with 14 additions and 2 deletions

View File

@ -1,16 +1,27 @@
<CustomButton@Button>:
font_size: 26
<LoginScreen>:
padding: 200
spacing: 10
rows:2
BoxLayout:
AnchorLayout:
TextInput:
id: user_input
font_size: 65
hint_text: "enter text"
BoxLayout:
spacing: 10
Button:
background_color: (1.0, 2.0, 8.0, 1.0)
id: sendmessage
text: 'SendMessage'
on_press: root.send()
Button:
background_color: (1.0, 2.0, 8.0, 1.0)
id: btnExit
text: "Exit"
on_press: root.sayexit()

View File

@ -10,7 +10,8 @@ from helper_sql import sqlExecute
from kivy.app import App
from kivy.core.window import Window
from kivy.uix.boxlayout import BoxLayout
# from kivy.uix.boxlayout import BoxLayout
from kivy.uix.gridlayout import GridLayout
import queues
@ -18,7 +19,7 @@ import shutdown
statusIconColor = 'red'
class LoginScreen(BoxLayout):
class LoginScreen(GridLayout):
"""This will use for sending message to recipents from mobile client."""
def send(self):