Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Any way to control default size of SVG shapes?(Is there a way to control the default size of SVG shapes, either via CSS or within the SVG file?)
Any way to control default size of SVG shapes? [message #1744074] Thu, 22 September 2016 08:22 Go to next message
Thomas Gericke is currently offline Thomas GerickeFriend
Messages: 12
Registered: February 2016
Junior Member
I am currently developing a profile with a set of SVG files that are used as shapes for elements in diagrams. Some shapes shall by nature be "smaller" than other shapes, for example interface symbols shall be smaller than node symbols by default.

However, I have failed to control the default size of the symbols in diagrams and found nothing useful within Papyrus CSS control or within SVG files themselves. One "problem" is that the Papyrus element compartment "fills out" the space and "stretches" the SVG no matter how big the SVG canvas is - so there is no way to control it that way.

Anyone has any idea or a solution?

Best regards, Thomas Gericke
Re: Any way to control default size of SVG shapes? [message #1744657 is a reply to message #1744074] Thu, 29 September 2016 10:36 Go to previous message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 245
Registered: July 2009
Location: Paris Saclay, France
Senior Member
yes in fact the SVG by using CSS can fills all the compartment by using "maintainSymbolRatio=false" or get adapt the size the of SVG by using "maintainSymbolRatio=true"
Do you try shape decoration because the size is fixed.
Nevertheless we have no preferences or Css command to fix the size of the SVG.

If you are interested by that, write a bug with your scenario as an enhancement.
In this manner this fucntionality is written and can interest persons or companies that can vote for this function.
Previous Topic:Java auto generate Array
Next Topic:JAVA error before the installation of PAPYRUS
Goto Forum:

Current Time: Fri Jul 03 16:10:53 GMT 2020

Powered by FUDForum. Page generated in 0.01816 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top