Hi,
I've added the histogram widget to my app, which is based on the advanced demo so with a toolbar and everything inside a panel:
const panel = new Panel({
adopt : 'container',
//layout : 'fit',
layoutStyle: {
flexFlow: 'column nowrap'
},
items : [
gantt,
new Splitter({
flex : '0 0 0.5em'
}),
histToolbar,
histogram
],
tbar : ganttToolbar
});
Couple of issues/questions:
1) The histToolbar should not be growing or shrinking. I've added
flex : '0 0 3em',
to it but it still does when dragging the splitter. Any ideas on how to fix this?
2) The horizontal splitter is positioned incorrectly on initialization, it's too far to the left. See
. Looks like it's getting repositioned on or after rendering of the histogram widget, ignoring the gantt settings but looking at the width of the "name" column. Tried setting "flex" on the histrogram or setting width on the "name" column but that's all not working correctly. I'd like it to adhere to the original settings from gantt. How can I address this?
Thank you!