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

Panel - Vertical - Stretch Fill

$
0
0

@BFENico wrote:

          $(go.Node, 'Auto',
            { width: 200, height: 200 },
            $(go.Shape, "RoundedRectangle", {
              fill: 'blue',
              stretch : go.GraphObject.Fill,
            }),
            $(go.Panel, 'Vertical',
              { stretch: go.GraphObject.Fill },
              $(go.TextBlock, 'Hallo', { background: 'white', textAlign: 'center' }),
              $(go.Shape, 'RoundedRectangle', { stretch: go.GraphObject.Fill, fill: 'yellow' })
            )
          );

Hello, why is the yellow Shape not stretch "fill"?

Thank you for help.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles