How can I set the title bar of a view?
-
Hello everyone,,
I bet there’s a simple answer to this but I haven’t been able to find it... When I run some of the bundled examples on either my iphone or ipad the views have a title on the title bar of the view (Calculator in Calculator, & Color Mixer in ColorMixer for example). How is this title set? It doesn’t seem to be in either the py or pyui files. When I run my scripts the title bar is blank. Can anyone help???
-
@Gujarish the title of a view is its name.
v = ui.load_view('Calculator')
generates v.name = 'Calculator'
Try, before the v.present()
v.name = 'Gujarish'
-
This post is deleted!last edited by
-
This post is deleted!last edited by
-
This post is deleted!last edited by
-
This post is deleted!last edited by
-
This post is deleted!last edited by