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
*.pyuifile. 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
.pyuifile 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.
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