[mythtv] render2019 comments

Mark Kendall mark.kendall at gmail.com
Thu Oct 3 08:58:42 UTC 2019


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:
> https://www.mythtv.org/wiki/MythUI_Theme_Development#The_buttonlist_widget
>
> The current definition just changes the background for disabled settings:
> https://github.com/MythTV/mythtv/blob/master/mythtv/themes/default/standardsetting-ui.xml#L181
> https://github.com/MythTV/mythtv/blob/master/mythtv/themes/default/standardsetting-ui.xml#L188

Jonatan,

If I'm reading that correctly - then all I need to do is edit the
disabledinactive state? but presumably the standard settings is themed
individually and hence overridden by each theme... (showing my
ignorance here no doubt)

Thanks,
Mark


More information about the mythtv-dev mailing list