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

Autosize property set on the "Configuration" template is being ignored #4285

Open
2 tasks done
euu2021 opened this issue Mar 21, 2024 · 1 comment
Open
2 tasks done

Comments

@euu2021
Copy link

euu2021 commented Mar 21, 2024

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
Autosize property set on the "Configuration" template is being ignored.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Configuration'
  2. Set this Config:
{
  "defaultFonts": ["Times New Roman"],  
	
  "defaultVertexStyle": {
    "fontFamily": "Times New Roman",
	"fontSize": "50",
	"autosize": "1",
	"strokeWidth": "10",
	"strokeColor": "#f2a60f"
  },
  "defaultEdgeStyle": {
    "fontFamily": "Times New Roman",
    "strokeColor": "#09e6cf",
	"curved": "1",
	"fontSize": "50",
    "strokeWidth": "10"
  }
}
  1. restart the app
  2. create a rectangle
  3. Every property is correct, but Autosize is disabled

Expected behavior
Autosize be enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version v24.0.7

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Chrome
  • Browser Version 122.0.6261.129

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

  • yes
@davidjgraph
Copy link
Collaborator

Try 24.2.9.

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