Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Rounded Rectangle "parameter1" not working without an invisible dummy shape

$
0
0

@ar27111994 wrote:

Hi, please help regarding inconsistent behavior of gojs Rounded Rectangle "parameter1" property (used for specifying border-radius). We cannot get a border radius working on our rectangle without creating an invisible shape (first shape in code). The small invisible/placeholder diagram results in radius which is small no matter what value we give to it, and even that takes effect only on smaller rectangles. Having a larger invisible diagram allows us to make a larger radius on a larger rectangle but with a side effect which is the spacing between badges and rectangle/button. So please suggest a workaround to remove the gaps or even better if we could get rid of the invisible/placeholder diagram altogether :).

Here's the code snippet:

Posts: 8

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles