Code: Select all
vbox:
for i in range(len(btns)):
hbox:
for k in range(len(btns[i]))
textbutton btns[i][k]:
background If(i == 0 or k == 3, btn_opers_bg, btn_nums_bg)Code: Select all
style main_button:
background btn_nums_bg
hover_background btn_nums_hover_bg
xysize btn_sizeI understand that I can explicitly specify hover_background here
Code: Select all
for k in range(len(btns[i]))
textbutton btns[i][k]:
background If(i == 0 or k == 3, btn_opers_bg, btn_nums_bg)
hover_background 'some_color'