X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=data%2Fskin.xml;h=3c9f55dba2d38509af00d720a47fcc94b28cfc15;hp=480accdd86e908a742dfb25acc57225d52477feb;hb=c1311444ea249a45d0eceefa15d77fce410a54da;hpb=71f4df6d025fa09d937dd5e259992cf04b4a04f8 diff --git a/data/skin.xml b/data/skin.xml index 480accd..3c9f55d 100644 --- a/data/skin.xml +++ b/data/skin.xml @@ -9,55 +9,121 @@ + - + - + - + + + + - - - - - - - - + + + + + + + + - """ """ - - - - + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + - - - - + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -71,8 +137,12 @@ - - + + + + + + @@ -80,31 +150,116 @@ - - - + + + + + + + + + + + + + + + + + + + - + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + - - + + + + + + - + + + + + + + + + + + + + + + + + + + - + @@ -114,10 +269,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() @@ -125,8 +286,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] + 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)) @@ -139,4 +305,4 @@ newwidth = wsize[0] self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) - \ No newline at end of file +