X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/364dcf5cdfa9f39414074a48501f25d714117729..bb4b54a4168c5dca402b72adafd50cbd6e0b307e:/data/skin.xml?ds=sidebyside diff --git a/data/skin.xml b/data/skin.xml index d85d1735..58523bae 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -9,6 +9,7 @@ + @@ -19,6 +20,9 @@ + + + @@ -29,47 +33,47 @@ - """ """ + - + - - + + - + - + - + - + - + - - + + - + - + @@ -78,15 +82,15 @@ - - + + - + - + @@ -96,6 +100,8 @@ + + @@ -138,48 +144,91 @@ - - + + + + + + + + - - - + + + + + + + + + - - + + + + + + - + + - - + + + - + - + - - - + + + + + + + + + + + + + - + + + + + + @@ -203,8 +252,14 @@ + + + + - + + + # this should be factored out into some helper code, but currently demonstrates applets. from enigma import eSize, ePoint @@ -214,8 +269,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))