peiriannydd
Jun 04, 2022 - 04:23
I’m sorry if this has an obvious answer, but I am unable to get this to work. I want to use a custom close button but it doesn’t work for me. What am I missing? Thank you!
` import ui
v = ui.View()
b1 = ui.Button(title = "why doesn't this close button work?")
b1.frame = (50,100,270,50)
b1.background_color = '#d0d0d0'
b1.action = v.close()
v.add_subview(b1)
v.present('fullscreen', hide_title_bar=True)```