X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=data%2Fskin.xml;h=c0371d3e8c32f598b182a5b1305be3abc927ee51;hp=2a84d043eb1217c255630fbaf514c954a97c5bd4;hb=4ae10f76135d53a4285fd458a87f485695c9fbd7;hpb=463cbe6dca87a736698f3098c5edaee2343f7ce2 diff --git a/data/skin.xml b/data/skin.xml index 2a84d04..c0371d3 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -19,6 +19,9 @@ + + + @@ -32,38 +35,44 @@ """ """ - + - + - + + + + + + + - - - - - + + + + + - + - + - - + + - + - + @@ -72,15 +81,15 @@ - - + + - + - + @@ -90,6 +99,8 @@ + + @@ -132,18 +143,31 @@ - - + + + + + - - - + + + + + + + + + + + + @@ -153,16 +177,27 @@ - - - + + + + + + + + + - + + + + + + @@ -170,9 +205,9 @@ - - - + + + @@ -186,10 +221,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() @@ -197,8 +238,13 @@ orgpos = self.instance.position() textsize = self["text"].getSize() # y size still must be fixed in font stuff... -textsize = (textsize[0], textsize[1] + 20) -wsize = (textsize[0] + 20, textsize[1] + 20) +textsize = (textsize[0], 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))