MoI discussion forum
MoI discussion forum

Full Version: MOI's UI related

From: mkdm
6 Oct 2017   [#1]
Hi Michael.

Talking with Max there's a question I want to ask you, before I put my hands on writing a UI extension for P.Elephant.

Does Moi support SVG icons ?

I mean, could I create html/javascript code to display SVG icons inside Moi's UI (or inside the UI of P. Elephant UI or scripts/commands UI) ?

Thanks a lot.

Bye.
From: Michael Gibson
6 Oct 2017   [#2] In reply to [#1]
Hi Marco, sorry no MoI does not support SVG icons in its UI panels currently. The SVG part of the WebKit engine is disabled in the build that MoI uses because it adds significant bloat to the binaries something like 5MB or so I can't remember exactly.

- Michael
From: mkdm
6 Oct 2017   [#3] In reply to [#2]
Hi Michael.

OK. No problem.

Please add this feature to V4 if you can. Thanks.

Ciao!
From: Michael Gibson
6 Oct 2017   [#4] In reply to [#3]
Hi Marco, sorry, currently I'm not planning to add it to v4 for the same reason it's not in v3 - it adds significant bloat to the binary size for the download and isn't needed for anything that MoI does itself.

It's a goal for MoI to avoid "bloat" in general, and excessive download file size is one aspect of that.

- Michael
From: mkdm
6 Oct 2017   [#5] In reply to [#4]
Ok Michael.

Thanks anyway for clarification.
I can live without SVG :)

Ciao.