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

Resize the shapes forms #101

Open
ghost opened this issue Nov 30, 2019 · 2 comments
Open

Resize the shapes forms #101

ghost opened this issue Nov 30, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 30, 2019

I am a student of maps and I am also a beginner developer of javascprit.
I am studying your application and really enjoyed using it in my daily life to create maps for study in my course.
The app is great, but I missed being able to manipulate the geometric shape,
so when evaluating the app's css, i saw that the .text property can adapt the shape (box), for example,
and this change allows me to modify the way the shape looks and helps a lot in the overall map design, And that gave the possibility of manipulation that I said.
I will show a video of how it was applied and the real problem is that when you save the file in
any format it loses the modified width / height.

in the code that I used the property:

.text {
resize: both;
overflow: hidden;
white space: pre-line;
}

please help on this

@ondras
Copy link
Owner

ondras commented Dec 2, 2019

Hi @JoseFlavioBR ,

thanks for your feedback. It is nice that you were able to tinker with the app from within your browser.

However, the app's built-in behavior is to auto-size individual shapes to their content -- and for a good reason: auto-sizing means that overflow is not going to happen.

Note that most other visuals of the map are also not saved (shape colors, borders, etc.); the map data only contains the structural features of your map, not the styling.

@ghost
Copy link
Author

ghost commented Dec 2, 2019

Thanks for all ondras

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

1 participant