I'm trying to do a patch which would fix the following situation:
If a TV show title is multiline text, the following happens:
Mini guide: The title is rendered multiline which causes it to render over other items in the list below this program
EPG guide: Same as above
Info window: Only the first line of show title is displayed
So I started out with TVMiniGuide and found the appropriate code which assigns show title to screen labels.
However I'm not sure this should be the correct way of fixing the problem.
I think I should rather override the TVChannel.Title so that it would always return a single-line string.
However I can't find TVChannel.Title. The class declaration is rather cryptic to me (not much C# experience). I'm assuming title is either a property or a member variable of the class which would mean that I would need to fix every assignment to it in order to fix the problem by method #2.
Can a seasoned developer offer me advice on proper course of action?
I will proceed on my own after that but as it is, I can only do method #1 - which I'm not sure is the correct method of fixing this in the first place - hence no patch yet.
Edit: attached the patch
If a TV show title is multiline text, the following happens:
Mini guide: The title is rendered multiline which causes it to render over other items in the list below this program
EPG guide: Same as above
Info window: Only the first line of show title is displayed
So I started out with TVMiniGuide and found the appropriate code which assigns show title to screen labels.
However I'm not sure this should be the correct way of fixing the problem.
I think I should rather override the TVChannel.Title so that it would always return a single-line string.
However I can't find TVChannel.Title. The class declaration is rather cryptic to me (not much C# experience). I'm assuming title is either a property or a member variable of the class which would mean that I would need to fix every assignment to it in order to fix the problem by method #2.
Can a seasoned developer offer me advice on proper course of action?
I will proceed on my own after that but as it is, I can only do method #1 - which I'm not sure is the correct method of fixing this in the first place - hence no patch yet.
Edit: attached the patch