X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=data%2Fskin_default.xml;h=cddc18f49d38cb447d8a3e4efcb4d2c30839f344;hb=fd002c45932aa88271af9be88f2d585199ac5a1e;hp=ea80091e525279e309384c4fd873c4272afc70d5;hpb=49a1d515bbd1d2b575d30ee1a1c99e791c8be64b;p=vuplus_dvbapp diff --git a/data/skin_default.xml b/data/skin_default.xml index ea80091..cddc18f 100644 --- a/data/skin_default.xml +++ b/data/skin_default.xml @@ -1,10 +1,10 @@ - + - + @@ -14,6 +14,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -48,8 +68,8 @@ - - + + @@ -128,6 +148,9 @@ + + + @@ -236,6 +259,9 @@ + + + @@ -251,7 +277,7 @@ - + @@ -265,13 +291,14 @@ textsize = self["text"].getSize() # y size still must be fixed in font stuff... textsize = (textsize[0] + 50, textsize[1] + 50) count = len(self.list) -if count > 6: - count = 6 -offset = 30 * count +if count > 10: + count = 10 +offset = 25 * count wsizex = textsize[0] + 60 wsizey = textsize[1] + offset -if (400 > wsizex): - wsizex = 400 + +if (450 > wsizex): + wsizex = 450 wsize = (wsizex, wsizey) @@ -282,13 +309,13 @@ self.instance.resize(eSize(*wsize)) self["text"].instance.resize(eSize(*textsize)) # move list -listsize = (wsizex, 30 * len(self.list)) +listsize = (wsizex, 25 * count) self["list"].instance.move(ePoint(0, textsize[1])) self["list"].instance.resize(eSize(*listsize)) # center window newwidth = wsize[0] -self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) +#self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) @@ -315,6 +342,14 @@ self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) + + + + + + + +