Changes made on UI for Desktop and Mobile Clients
This commit is contained in:
parent
4770790597
commit
7aac991c4f
11
src/main.kv
11
src/main.kv
|
@ -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()
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user