X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/f43943087f01dca40b5bda702340bed885bcc891..1036de712ab59acf11d5012d182cea8734b8412b:/data/skin.xml diff --git a/data/skin.xml b/data/skin.xml index 7dafd68f..b7b0240c 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -9,6 +9,7 @@ + @@ -32,7 +33,7 @@ - """ """ + @@ -42,12 +43,15 @@ - - + + + + + @@ -81,15 +85,15 @@ - - + + - + - + @@ -143,24 +147,62 @@ - - - + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + - - + + - + + @@ -169,13 +211,17 @@ - + - + + + + + @@ -183,8 +229,20 @@ + + + + + + + - + + + + + + @@ -192,9 +250,9 @@ - - - + + + @@ -213,7 +271,9 @@ - + + + # this should be factored out into some helper code, but currently demonstrates applets. from enigma import eSize, ePoint @@ -223,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))