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. Quote Link to comment Share on other sites More sharing options...
picyka Posted June 28, 2022 Author Share Posted June 28, 2022 Any tips? Quote 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 Quote 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 Quote 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. Quote 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 Quote 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 Quote 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.