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

Make margins constant and small as font size increases when pointers are not used #297

Open
videosmith opened this issue Nov 3, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request mobile Something relevant to mobile support

Comments

@videosmith
Copy link

Is it possible to utilize the entire width of the raster if indicators/pointers turned off?

@Cuperino Cuperino self-assigned this Nov 3, 2024
@Cuperino Cuperino added the enhancement New feature or request label Nov 3, 2024
@Cuperino Cuperino added this to QPrompt Nov 3, 2024
@github-project-automation github-project-automation bot moved this to Uncategorized Issues in QPrompt Nov 3, 2024
@Cuperino Cuperino moved this from Uncategorized Issues to Editor in QPrompt Nov 3, 2024
@Cuperino Cuperino added the mobile Something relevant to mobile support label Nov 3, 2024
@Cuperino
Copy link
Owner

Cuperino commented Nov 3, 2024

This is something I could look into again later, but the thing holding us back isn't so much space for the pointers pointers, but how touch screen gesture interactions work.

When you're using QPrompt on a phone or tablet, there needs to be enough pixels for a swipe from the sides to be detectable. Left swipe is used to open the markers sidebar. If I set the handle bars to expand more, they get covered by the swipe's mouse area for detecting gestures and the handles become un-grabable after they're let go. Trial and error on a Pine64 phone is how I got to the current placement of the handle bars. If I recall correctly, if I made that distance any less, the handles would stop working on portrait phones.

Mobile isn't a priority platform right now, but QPrompt was designed with it in mind. The handles need to work there so users can align the text bellow the camera and use QPrompt to record videos (feature yet to be implemented).

@videosmith
Copy link
Author

Understood. Not a priority for me.

@Cuperino Cuperino changed the title Wider margins when indicators/pointers not used Make margins constant and small as font size increases when pointers are not used Dec 5, 2024
@Cuperino
Copy link
Owner

Cuperino commented Dec 5, 2024

Note to self:
x: fontSize/2 + contentsPlacement*(prompter.width-fontSize)
->
x: contentsPlacement*(prompter.width-fontSize)

Cuperino added a commit that referenced this issue Dec 5, 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 mobile Something relevant to mobile support
Projects
Status: Editor
Development

No branches or pull requests

2 participants