Hi everyone,

I am a little bit disappointed, I cannot succeed in changing the default 
size of my items in a diagram, while adding them.

I am developping a plugin with separate projects. i created the 
editorconfigurator and a first diagramconfigurator, with only a single 
item for tests purpose.

I managed to generate the new plug in, and created a new diagram to test 
it. Everything worked well, except from the default size of the shapes, 
which was 100x100.

So I tried to change some parameters to test them : background color, 
foreground color, font, line width... and size (both width and height) to 
change this not-so-beautiful square shaped box, and give them a more 
rectangular look.

I regenerated the plug in, and while testing it again, I were surprised 
not to get the resized parameters working. The background/foreground color 
and font were different, but neither the size nor the line width changed.

I verified the .graphconf file, and the values are correctly written.
I noticed that there is a preferences package that configure the default 
Background / foreground / font values, but nothing for the size.
In an old project, I was able to change the size directly from the 
.graphconf file (even it is not recommended), but as i tried to modify 
directly the .graphconf values of my new project, nothing changed.

I maybe get something wrong, like a function that refreshs with default 
values, but I did not see any of these things, and with quite the same 
code, the old project allows to change the size. there is maybe some code 
that I missed.


Sincerely,

Clement Debret



_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to