Page 1 of 1

[REACT]

Posted: Thu Jun 17, 2021 10:59 am
by bodya1095

I get strange font instead of icon using Bryntum Scheduler eventRenderer.
You can see this strange font and how i add an icon on the screenshots bellow.
Could you say what caused a problem?


Re: [REACT]

Posted: Thu Jun 17, 2021 11:01 am
by mats

Not sure but try add a space before your CSS classes?

" b-fa ..."

Re: [REACT]

Posted: Thu Jun 17, 2021 12:51 pm
by bodya1095

Doesn't work. I still get strange font.


Re: [REACT]

Posted: Thu Jun 17, 2021 3:29 pm
by saki

Please make sure that you include a css file as described here: https://bryntum.com/docs/scheduler/#Scheduler/guides/integration/react.md#using-bryntum-scheduler-themes

Without the proper CSS the class "b-fa" is not understood as one that is supposed to use Font Awesome so it only shows the character in the default font.

Consult please also sources of our React examples: https://bryntum.com/examples/scheduler/