X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c8a12f9ebbc6e93e640c0bb7634c2ef8f3f250bc..2be64a9bb186ac02e095d65e627fcb499df8606b:/data/skin.xml diff --git a/data/skin.xml b/data/skin.xml index d5f5d5ff..a98d1099 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -9,6 +9,7 @@ + @@ -19,6 +20,9 @@ + + + @@ -29,73 +33,84 @@ - """ """ + - + - + - - + + + + + - - + + - + + + + - - - - - + + + + + - + - + - - + + + + + - + - + - + - - + + - + - - - + + + - + + + - + @@ -123,7 +138,7 @@ - + @@ -135,39 +150,99 @@ - - - + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + - - + + + + + - + - + - - - + + + + + + + + + + + + + - + + + + + @@ -175,9 +250,9 @@ - - - + + + @@ -191,10 +266,16 @@ + + + + - + + + -# this should be factored out into some helper code, but currently demonstrated applets. +# this should be factored out into some helper code, but currently demonstrates applets. from enigma import eSize, ePoint orgwidth = self.instance.size().width() @@ -202,8 +283,13 @@ orgpos = self.instance.position() 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) +textsize = (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))