picyka Posted June 27, 2022 Share Posted June 27, 2022 Hi E := UniCalendarPanelAgenda.Events.Add; E.Title := '<i class="fa fa-circle" style="color:#D1B508;"></i>' + ' TEST'; How to make fontawesome work in a title of a calendar event. Link to comment Share on other sites More sharing options...
picyka Posted June 28, 2022 Author Share Posted June 28, 2022 Any tips? Link to comment Share on other sites More sharing options...
Sherzod Posted June 28, 2022 Share Posted June 28, 2022 39 minutes ago, picyka said: Any tips? Hello, There are no tips yet. 1 Link to comment Share on other sites More sharing options...
Sherzod Posted June 29, 2022 Share Posted June 29, 2022 Hello, Sorry, also so far unsuccessful. 1 Link to comment Share on other sites More sharing options...
picyka Posted June 29, 2022 Author Share Posted June 29, 2022 Há 1 hora, Sherzod disse: Olá Desculpe, também até agora sem sucesso. that is sad. Link to comment Share on other sites More sharing options...
Sherzod Posted June 30, 2022 Share Posted June 30, 2022 On 6/27/2022 at 10:19 PM, picyka said: E.Title := '<i class="fa fa-circle" style="color:#D1B508;"></i>' + ' TEST'; How to make fontawesome work in a title of a calendar event. 1 Link to comment Share on other sites More sharing options...
Sherzod Posted June 30, 2022 Share Posted June 30, 2022 Solution: MainForm -> Script -> Ext.calendar.Event.prototype.updateTitle = function(a){a=a||this.getDefaultTitle();this.titleElement.setHtml(a)}; 1 Link to comment Share on other sites More sharing options...
picyka Posted June 30, 2022 Author Share Posted June 30, 2022 1 hour ago, Sherzod said: Solution: MainForm -> Script -> Ext.calendar.Event.prototype.updateTitle = function(a){a=a||this.getDefaultTitle();this.titleElement.setHtml(a)}; Works like a candy, thank you so much for helping my friend. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now