X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9d59a54d9ca312cc51b6b2319be07494331aed0d..b9ae0da9cfa8219ea7228cb99a3f1fe55444506b:/data/skin.xml diff --git a/data/skin.xml b/data/skin.xml index 060b8854..b75b6ea4 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -19,6 +19,9 @@ + + + @@ -29,47 +32,47 @@ - """ """ + - + - - + + - + - + - + - + - + - - + + - + - + @@ -78,15 +81,15 @@ - - + + - + - + @@ -96,6 +99,8 @@ + + @@ -138,8 +143,14 @@ - - + + + + + + + + @@ -148,29 +159,69 @@ - + + + + + + + - - + + + + + + + + + + + + + - + - + - - - + + + + + + + + + - + + + + + + @@ -194,10 +245,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() @@ -206,7 +263,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))