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

[Feature Request] Parameter for setting the side where the text is shown #47

Open
CaptainDario opened this issue Feb 18, 2023 · 3 comments

Comments

@CaptainDario
Copy link

First of all thank you for this great package! I am using it already for some time and it works great.

Recently, I shipped my flutter app for desktop platforms and there some users complained about the tutorial texts being too small. Therefore, it would be great to be able to set the side of the focus where the text should appear.
For example, in the image below there is plenty of space on the left and right of the box. It would be great if the text could be placed there.

image

@talamaska
Copy link
Owner

Would you like to post a sample code on where I could replicate this issue/ feature.
In addition There are params where you can set the size of the texts - title and body. That is if you don't use the autosize-ing feature. Also on that image, where the text should appear. I'm whiling to research how to do this if I have clear expectations. Keep in mind that the user can change the size of the screen, so I would assume this should be adaptable somehow. Like we can set a preferred position and alternative position if there is no space.

@CaptainDario
Copy link
Author

Thank you for your quick reply. It took me a few days to have the time to setup an example that shows the problematic behaviour.

image

Setting the size of the text does not help because if I set autosize=true the text becomes too small.

image

Therefore, a solution that can put the text to the left/right of the showcased widget when there is not enough space on the top/bottom would be great.
See the attached zip for the code for the example.
onboarding_overlay_47.zip

@talamaska
Copy link
Owner

Thanks for the provided example will try to look at it soon. Sorry for the late response, busy with other projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants