Forum Archive

confused using ui designer

MazukFarnas

I'm trying to learn to use the integrated UI designer in pythonista, and am stuck at the beginning. I'm trying to just read some textfields, do something with the values, and put the result in another textfield.

The pythonista documentation says that I should be able to set the action for each textfield from the attributes menu directly in designer. There is no such capability. If you have a view with a number of different objects in it, how do you set the action attribute for each object from the integrated designer tool? Is there a way to edit the code it generates? https://solitaire.onl/ https://9apps.ooo/

Thanks!

ccc

In the UI Designer, click on one of your test fields and then scroll the list on the right. You should see:
* TEXT FIELD
* Text
* Placeholder
* Font
* Alignment
* Auto-Correction
* Spell-Checking
* Password Field
* Action

You need to put the name of a Python function next to Action but then you gotta write that function.

I highly recommend spending some time on https://github.com/humberry/ui-tutorial