[mythtv] render2019 comments
lindbladjonatan at gmail.com
Thu Oct 3 19:56:21 UTC 2019
Den 2019-10-03 kl. 10:58, skrev Mark Kendall:
> On Wed, 2 Oct 2019 at 21:22, Jonatan Lindblad <lindbladjonatan at gmail.com> wrote:
>>> Anyone familiar with the settings UI code have any ideas/suggestions?
>> I'm afraid the documentation for theming the settings has not been written yet. You should however be able to do what you want with the states disabledinactive and disabledactive of the buttonitem statetype widget that is used in button lists. That's just standard MythUI but for settings there is also the widgettype statetype which can be used to display the type of a setting (checkbox, textedit, etc).
>> Documentation of the button lists can be found here:
>> The current definition just changes the background for disabled settings:
> If I'm reading that correctly - then all I need to do is edit the
> disabledinactive state?
Yes, that is correct. You can check out Steppes for an example, https://github.com/MythTV-Themes/Steppes/blob/master/standardsetting-ui.xml#L169.
> but presumably the standard settings is themed
> individually and hence overridden by each theme... (showing my
> ignorance here no doubt)
It seems like the only themes customizing this are the different Steppes versions and Monochrome so if you update the default one most of the themes would actually benefit from it.
More information about the mythtv-dev