Dmytro Soldatov

Results 24 comments of Dmytro Soldatov

@seafloyd16 Under the hood. `ContentController` is checking the type of a given object, to decide how to proceed with it: https://github.com/pixijs/layout/blob/e1d591bf8c86e59f6084afa676eb0ff27941c923/src/controllers/ContentController.ts#L268 So, maybe in electron it can not detect it...

So, when it is an instance of text, it should just add it there. In case if this is a layout config tree, it should go throughout it and parse...

OK, that means, I am right and it can not recognise the instances. I could try to take a look into it if you would create some repo with this...

Hmmm. Interesting discovery, do you think you could put it together in some repo where I can reproduce it and maybe fix?

got Maximum call stack size exceeded. Debugging shows content type is always object, so this is The issue I had in mind, will think how to improve that checks.

@seafloyd16 , sorry for late answer. This may be related to the way imports are happening. The build is made with rollup, so using option `iife` makes it use different...

Temporary solution would be to call `layout.refresh()` (implemented in #54 ) after you change some instances inside a layout.

FlexBox like layout implementation is in plans for the future versions. For now, similar behaviour can be achieved using percentages as a size values. Like in this example: https://pixijs.io/layout/storybook/?path=/story/complex--application-layout (check...

It is all hardcoded here: https://github.com/pixijs/ui/tree/main/src/utils/trackpad You may create a PR with the additional settings and drop them into the refactored trackpad utility