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>: <LoginScreen>:
padding: 200
spacing: 10
rows:2
BoxLayout: BoxLayout:
AnchorLayout: AnchorLayout:
TextInput: TextInput:
id: user_input id: user_input
font_size: 65
hint_text: "enter text"
BoxLayout: BoxLayout:
spacing: 10
Button: Button:
background_color: (1.0, 2.0, 8.0, 1.0)
id: sendmessage id: sendmessage
text: 'SendMessage' text: 'SendMessage'
on_press: root.send() on_press: root.send()
Button: Button:
background_color: (1.0, 2.0, 8.0, 1.0)
id: btnExit id: btnExit
text: "Exit" text: "Exit"
on_press: root.sayexit() on_press: root.sayexit()

View File

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