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

Gojs palette with bootstrap accordion

$
0
0

@dramxx wrote:

Hello

I was using gojs palette ( go.GraphObject.make(go.Palette… ) to list all items available for drag-and-drop on canvas.

It worked as intended, but I need to tidy the list up a bit, so Ive added bootstrap4 accordion with intention to split my gojs palette into several palettes - where each one will be filling one accordion container.

Now im getting small grey squares instead of intended objects. When I change scale to very slow number, eg .0000002 Im getting part of textBlock which Im able to drag and drop on canvas. GoJS creates canvas inside of bootstrap accordion container with very small width, hovever, adjusting it does not help ( I see only textblock )

Anybody can suggest, what am I missing here?

html: https://pastebin.com/raw/v3y0PFMs
css: https://pastebin.com/raw/qdiuZLUU
js: https://pastebin.com/raw/6Cr5jWPm

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles