← Back to conversations
How to change button color in kivyMD
Rahul Gothwal
Posted on August 7, 2020
i've a
'MDFillRoundFlatButton' in my application but somehow i cannot change its color.
'MDFillRoundFlatButton' in my application but somehow i cannot change its color.
Juri Ivanov
Posted on August 7, 2020
from kivy.lang import Builder from kivymd.app import MDApp KV = ''' Screen: MDFillRoundFlatButton: text: "MDFillRoundFlatButton" pos_hint: {"center_x": .5, "center_y": .5} md_bg_color: 0, 0, 1, 1 ''' class Test(MDApp): def build(self): return Builder.load_string(KV) Test().run()
👍️ 1