How to set screen orientation for applets?

Anything related to Hollywood Designer goes in here
Post Reply
amyren
Posts: 352
Joined: Thu May 02, 2019 11:53 am

How to set screen orientation for applets?

Post by amyren »

I cant find any option to set the screen orientation in Designer.
Is there another way to implement this?

I figured that a workaround could be to save it as a script, and then just open the script in Hollywood and add orientation to the @DISPLAY command.
Unfortunately, the option to link all data files set in Project Properties/Linker are not saved with the script, so the resulting applet saved from Hollywood will not have the needed image files linked to the applet.
amyren
Posts: 352
Joined: Thu May 02, 2019 11:53 am

Re: How to set screen orientation for applets?

Post by amyren »

When running on android this can be an issue.
When launching the app on the phone and then rotate the phone just as the Hollywood logo apears, then the screen will display correctly but the buttons will be very misaligned.
Rotating the phone to portrait and back to landscape will make the buttons be drawn correctly.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: How to set screen orientation for applets?

Post by airsoftsoftwair »

Yes, looks like a useful feature for a future version.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: How to set screen orientation for applets?

Post by airsoftsoftwair »

Code: Select all

- New: Added widget to configure the display's orientation to the project properties dialog; this allows
  you to set an orientation for your project when it is run on a mobile device; you can choose between
  "Default", "Landscape", and "Portrait"
Post Reply