Hi Pythonista crew
I try to change a Imageview height by his name.
But "ui.Imageview('Image').height = 120" is not working
So how would you try to change something in a ui.Button or ui.Imageview if you use the
Ui.Button.name. = 'button'
This my script:
view = ui.View()
view.present('portrait')
def button():
ui.Imageview('Image').height = 120
img = ui.ImageView()
img.name = 'Veer'
img.heigt = 150
view.add_subview(img)
button = ui.Button()
button.action = button
view.add_subview(button)