0
kivy로 만든 팝업 창이 있는데 background_color 객체를 설정했지만 기본 회색에서 배경색을 변경할 수 없습니다. 누구든지 어떤 제안이 있습니까?Kivy Popup의 배경 변경
class CAP(BoxLayout):
def sPop(self):
box = BoxLayout(background_color=(0, 255, 0, 0.8))
closer = Button(text="Close", pos_hint={'x': 6, 'center_y': 0.04},
size_hint=(0.1, 0.1), background_color=(0, 0, 255, 0.7))
box.add_widget(closer)
box.add_widget(Label(text="", index=6))
p = Popup(title = "", content = box, size=(25,
25))
p.background_color=(0, 0, 255, 0.9)
closer.bind(on_press=p.dismiss)
p.open()