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.
How to build a Sharehseet UI which runs well on iPad and iPhone
-
I have my well-working Image Joiner share extension developed with a
*.pyui
file. This extension works well on my iPad I use for developing the UI:However when running on my iPhone it looks like this:
Not too bad, but if I want to have a design which shows the percent" SegementControl next to its "Border Width" Label on iPad and iPhone_, how can I design the
.pyui
file for it? -
@halloleooo you could, before presenting the view, recompute the frames of the relative objects (labels, segments) in function of the dimensions of the device (ui.get_screen_size())
-
@cvp Thanks. Makes sense. I was hoping there is a way via the UI builder, but of course, I can adjust things later in code.
-
@halloleooo said:
there is a way via the UI builder
I don't think so but I never use the designer, thus perhaps it is better to have another advice