I am using python-2.7 and kivy. Can someone tell me that how to add a different colour border to kivy button.
test.py
from kivy.uix.screenmanager import Screen
from kivy.app import App
from kivy.core.window import Window
Window.clearcolor = (0.5, 0.5, 0.5, 1)
Window.size = (300, 100)
class User(Screen):
pass
class Test(App):
def build(self):
return self.root
if __name__ == '__main__':
Test().run()
test.py
User:
BoxLayout:
Button:
background_normal: ''
text: 'Ok'