Repository navigation
Replies: 6 comments
|
Hi, I have the same problem. I tried to set a default connector style via the configuration. It successfully saved the json code, but after re-opening the app, the connector style is back to default. |
|
Neither of you have given any environment or version details, so we've no idea what to test to try to recreate the problem. |
|
Hi, I have the Windows Desktop Version 28.2.5. I am using the portable Version.
|
|
This is my configuration. Now have set font-size and defaultGridEnabled, how to set default background color? draw.io version : draw.io desktop v28.2.5
|
|
I encounter the same issue (a.k.a modifications made in configuration/preference) seems not taken into account after a restart (even if content is well modified). I personally tried to add presetColors, customPresetColors and defaultColors (without success), but I remarked I could successfully modify recentColors, hope this test will help investigations. |
|
From the JSON posted here, it looks like the settings were entered in Preferences (the button in the Configuration dialog) instead of the configuration itself. Preferences only hold saved UI state such as Enter the options in Extras > Configuration directly, click Apply and restart the app, e.g.: {
"defaultVertexStyle": {"fontSize": "22"},
"defaultEdgeStyle": {"edgeStyle": "orthogonalEdgeStyle", "rounded": "1"},
"defaultGridEnabled": false,
"defaultPageBackgroundColor": "#FFFFFF",
"presetColors": ["FF0000", "00FF00", "0000FF"]
}
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I want to set default font size , use grid and background color. But I modifying preferences does not take effect.
This is my configuration and effect, I don't know how to set background color

{ "defaultVertexStyle": { "fontFamily": "Segoe UI", "fontSize": "22", "strokeWidth": "1", "arcSize": "10", "absoluteArcSize": "1", "rounded": "1", "shadow": "0", "comic": "0" }, "defaultGridEnabled": false }draw.io version : draw.io desktop v28.1.2
All reactions