ButchMonkey
ButchMonkey
Might be able to use `isClosable` as a work around and then manually closing the tab. Not sure if there is any other methods however
@jcford73 sparked a memory of doing this in a project before, here is a cut down version of my solution - ```javascript myLayout.on('tabCreated', function(tab){ tab.closeElement.off( 'click' ).click(function(){ if( confirm( 'You...
I think I was getting around this by manually calling the layout resize function to re-adjust all the values. Agreed that percentages would be better and help with responsiveness. I...
There is a resize event that you can bind to the container when you initialize it. ``` container.on('resize', function () { }); ``` However I'm not sure if any context...
Closing issue. If the above reply did not help, feel free to reopen.
The example you linked does what you are asking for? what wrong with that?
Set the isClosable flag on the container to false in your [config ](https://golden-layout.com/docs/ItemConfig.html):) [**Example**](https://codepen.io/ButchMonkey/pen/brROjg)
Closing issue. If the above reply did not help, feel free to reopen.
The "show icon" settings show and hide the icons on the right of the header, so maximize, pop out and close. The isClosable flag is per container item
In [this](http://golden-layout.com/examples/#e15391fb136593e265013408cf68e561) demo you can see how to add buttons to the header. You can change this and its drop down menu to run your own functions to spawn new...