Add objectTypes skin attribute

Merged
#420 · Created  · Last updated

Merged pull request

Merged in IanSav/easy-ui-4/Add-objectTypes (pull request #420)

dcdd446·Author: ·Closed by: ·2018-03-29

Description

  • [skin.py] Add objectTypes skin attribute

    This new attribute was created by OpenPLi and OpenViX to address issues with overlapping text in the COLOUR buttons when the Label() and Button() objects are overlapped with the StaticText() object.

    The syntax of the objectTypes attribute is objectTypes="screen_element,object_type[,object_type,...]". The use of an objectType attribute fully replaces the use of the simple "conditional=" attribute.

    This change when adopted into the Beyonwiz skins will allow the Button() and Label() object code changes made by Prl to be reverted to the Enigma2 standard.

    Adding this change will have no effect on the Beyonwiz build until/unless skins are coded to use the new attribute. OverlayHD is adopting these changes now to support its use on both OpenViX and OpenPLi.

  • [StaticText.py] Allow ConditionalShowHide in skin display

    This change is part of the new objectTypes attribute capability in the skin engine. The change allows the skin to use the ConditionalShowHide converter in the skin display of an objectTypes controlled skin widget to cause the widget to be hidden if the StaticText() object is blank.

0 attachments

0 comments

Loading commits...