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

Band - Adjust the margin

$
0
0

@jgulisano wrote:

I am creating a prototype application and wanting to add bands to a vertical TreeLayout. I've got the bands where I'd like them but have been unable to get two things to where I'd like them. I am following the Swimbands example.

  1. I see how the band width is bound to the width of the diagram, but I'd like the width to be bound to the comntaining div. is this possible?
    new go.Binding("width", "bounds", function(r) { return r.width + 100; })
  2. How can I increase the padding between the band text and the nodes so that they don't overlap?
    

Thanks!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles