X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/2884810419e8c4d220c91a0bba1e40e67a2fe158..026fd70744cd7237698f0b97731be55f62b641bb:/data/skin.xml diff --git a/data/skin.xml b/data/skin.xml index 4209f281..f93baf36 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -81,15 +81,15 @@ - - + + - + - + @@ -143,8 +143,14 @@ - - + + + + + + + + @@ -191,7 +197,12 @@ - + + + + + + @@ -220,7 +231,9 @@ - + + + # this should be factored out into some helper code, but currently demonstrates applets. from enigma import eSize, ePoint @@ -231,7 +244,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))