my-mind icon indicating copy to clipboard operation
my-mind copied to clipboard

Resize the shapes forms

Open ghost opened this issue 6 years ago • 2 comments

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

ghost avatar Nov 30 '19 04:11 ghost

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.

ondras avatar Dec 02 '19 15:12 ondras

Thanks for all ondras

ghost avatar Dec 02 '19 17:12 ghost