X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/a8644e3e187fa0301e72ad752b1c8f2a20e848e5..3d05da66ac0fb10d27409fc8b8f5cd99aedf939b:/data/skin.xml diff --git a/data/skin.xml b/data/skin.xml index 58ea6d58..66bcd202 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -35,44 +35,44 @@ """ """ - + - + - + - + - + - + - + - - + + - + - + @@ -81,15 +81,15 @@ - - + + - + - + @@ -99,6 +99,8 @@ + + @@ -142,7 +144,7 @@ - + @@ -162,8 +164,9 @@ - - + + + @@ -173,16 +176,27 @@ - - - + + + + + + + + + - + + + + + + @@ -206,8 +220,14 @@ + + + + - + + + # this should be factored out into some helper code, but currently demonstrates applets. from enigma import eSize, ePoint @@ -218,7 +238,12 @@ textsize = self["text"].getSize() # y size still must be fixed in font stuff... textsize = (textsize[0], textsize[1] + 50) -wsize = (textsize[0] + 50, textsize[1] + 50) +wsizex = textsize[0] + 50 +wsizey = textsize[1] + 50 +if (280 > wsizex): + wsizex = 280 +wsize = (wsizex, wsizey) + # resize self.instance.resize(eSize(*wsize))