@JonB , Thank you!! I'll try.
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.
Latest posts made by cg-mag
-
RE: ui.NavigationView error?
@Gerzer said:
Patience is a virtue! Does the button partially appear only in landscape? Or does the problem occur in portrait as well?
Start program at portrait. When rotate phone button was partially apearing.
-
ui.NavigationView error?
I use this code.
import ui def button_tapped(sender): v = ui.View() v.background_color = 'green' v.name = 'Pushed View' sender.navigation_view.push_view(v) root_view = ui.View() root_view.background_color = 'white' root_view.name = 'Root View' button = ui.Button(title='Tap me') button.action = button_tapped button.bring_to_front() button.background_color = 'gray' root_view.add_subview(button) nav_view = ui.NavigationView(root_view) nav_view.present()
When I rotate my Iphone the button is cutting.
https://pp.vk.me/c621928/v621928381/41dd5/LiEgFgmEZBo.jpg
How to fix it? Thanks..And I have another questions. Can I run some script when user pressed the button 'back' at the navigation view? Thanks.
-
RE: Make interface using design tool and edit it by script (add some ui elements). Is it possible?
Thank you a lot! Problem was in that - button was created but in left upper conner - very high. I move scroll view down and now all works right!!
Now I have new questions) - can i add 2 ui.label in each raw in table view? -
RE: Make interface using design tool and edit it by script (add some ui elements). Is it possible?
I start new script and do this. I have the same
-
RE: Make interface using design tool and edit it by script (add some ui elements). Is it possible?
No Name - it is not control. It is standart title... Scroll view I move to back. There obly 2 objects - scroll view and buuuton. All in the center with standart sizes.
Action from button have executed and I can change with this action for example content_size, but I can not add button!
I can change in scrollView anything, but can`t add new ui element -
RE: Make interface using design tool and edit it by script (add some ui elements). Is it possible?
@Phuket2, Yes I have correct names.
photos below.
http://cs621927.vk.me/v621927381/398fc/AilzRGS9vNA.jpg
http://cs621927.vk.me/v621927381/39905/ZCm19WhP38U.jpg
It is a simple scene. Where can i mistake?(( -
RE: Make interface using design tool and edit it by script (add some ui elements). Is it possible?
I'll think about tableView. Thanks. But it will be later..
I touch the button, but nothing was heppend(.
"action_butt" execute..# coding: utf-8 import ui def action_butt(sender): v=sender.superview myScrollView=v['scrollview1'] butt = ui.Button(title='test') myScrollView.add_subview(butt) v=ui.load_view('Untitled 5') v.present()
I need to understend the principle of work with views..