Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Child parent assigment
-
I spent a lot of time since my last post, trying to figure out what happened. I’m still stuck but have figured out a few things.
To review: I was working on my 2nd Pythonista UI and had had a button that was being covered and hidden by the View.
After much screwing around, I managed to cover all the buttons with the view. The happed because my thumb hit the trash can button, while I was inspecting the View, so I made a new View, which proceeded to cover all the buttons.
So here are some questions:
Is there a parent child relationship between views and buttons?
If so, is there a was to change the relationship?
I tried the code:
view.send_to_back()
It made the view and its border completely disappear when I ran the program. Not helpful...
I’m going to delete and start over, but it seems there should be ways to handle this.
-
Someone, maybe @mikael or @polymerchm used to have a pyui editor, which let you change the heirarchical relationship of UI.Views.
Pyui's are just json files, so you can also just edit them directly.
-
Pyui's are just json files, so you can also just [change file extension from .pyui -> .json] edit them directly [and then change the extension from .json -> .pyui].