Quick and dirty scaling for iPhone?


#1

Hey guys,

another Q from me: we have an app that runs just fine on iPad (it’s really a demo app and not an end-user app) and we want to test it on iPhone.
The app is way too big to fit on the iphone display (accidentally it fits nicely on iPad though).

Is there a quick and dirty way to scale an app down?
Or perhaps some scroll-bars?

  • bram

#2

I ‘think’ you could do it by applying AffineTransform::scale to your main Component.


#3

I think the AffineTransform would work only if all your subcomponent are positioned relatively to the main component.
If you want to add a scrollbar, you may just add a Viewport in your main window then add your component to the Viewport.