Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Add Ability to Set Aspect Ratio of Container #5

Open
jeremy-farrance opened this issue Mar 19, 2024 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@jeremy-farrance
Copy link
Member

Important: this is done and working on PDPR2023 20240319 JRF
https://pdpr2023.accuraty.us/Parks/Community-Parks/Centennial-Park

Get this done properly, export the app.xml and update the downloadable (as AccuMap 1.1)

Since the <style> uses width: 100% and then sets the aspect ratio using padding-top (e.g. a 4:3 aspect ratio is 100:75, so current default padding is 75%)

Add a new field named AspectRatio (Label: Aspect Ratio) with a default of 75 and set the Dropdown to the obvious choices:

value; label
200:1:2, Tall
100:1:1, Square
75:4:3 Standard TV (Default)
66.66:3:2 Classic Film
56.25:16:9 HD Video
42.85:21:9 Film Widescreen

Reference
1:1 (Square): padding-top: 100%;
4:3 (Standard TV): padding-top: 75%;
3:2 (Classic 35mm film): padding-top: 66.66%;
16:9 (HD Video): padding-top: 56.25%;
21:9 (Cinema / Film): padding-top: 42.85%;

@jeremy-farrance jeremy-farrance added the enhancement New feature or request label Mar 19, 2024
@jeremy-farrance jeremy-farrance changed the title Feature Request - Add Ability to Set Aspect Ratio of Container [Enhancement] - Add Ability to Set Aspect Ratio of Container Apr 28, 2024
@jeremy-farrance jeremy-farrance changed the title [Enhancement] - Add Ability to Set Aspect Ratio of Container [Enhancement] Add Ability to Set Aspect Ratio of Container Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants