bill.k
Nov 01, 2014 - 17:16
I have added a label (label1) in the Ui designer. Is there something I can preface my reference to it in the offending line so that it can be found?
What is the name of the main view when it is created by the Ui designer?
import ui
def button_tapped(sender):
sender.title = 'Hello'
label1.text = 'hello' <-------------------------- causes error
ui.load_view('My UI').present('sheet')