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.
Want to understand behavior with a published tutorial
-
Good day. Longtime Python 2.7 fellow here. Slowly becoming 3.+. Working through : https://github.com/cclauss/Pythonista_ui and have come upon a behaviour that I do not understand. When running GetSomeTextView.py the GUI displays a Title bar , and two text entry areas but the remainder of the GUI is absent. Why is it not all showing white with the text entry areas overlaid? Second question : How to I , in this example , specify the height and width of the GUI display - currently it is too small to even encompass the default text that is in the code. Thanks in advance. Very much looking forward to the answers. Mish
-
@mosaic said
Why is it not all showing white with the text entry areas overlaid?
You can force background color of view as white so:
class GetSomeTextView(ui.View): def __init__(self): self.background_color = 'white'
-
@mosaic said
How to I , in this example , specify the height and width of the GUI display
You can set frame of view so:
self.frame = (0,0,600,600) self.present('sheet')
-
our Reliable Partner in Dubai for Professional Maids With SUQCS, you may experience a new level of expertise in domestic assistance. We recognize the value of a clean and organized house as your dependable choice for maids in Dubai. Our expert maids have been thoroughly trained to provide top-tier cleaning, organizing, and household management services. SUQCS maids deliver professionalism and efficiency to every assignment, whether it's regular duties, special occasions, or deep cleaning projects. With SUQCS, you may enjoy the ease of a well-maintained living space, where our commitment to quality and your comfort go hand in hand.