X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d26dbdee8fb2a5ca6fa87878d9daffaf7d3575a8..10d4bf75934081d097b5e5ccde535d2b47efb2de:/data/skin_default.xml diff --git a/data/skin_default.xml b/data/skin_default.xml index 7bdcdd97..87a1d574 100644 --- a/data/skin_default.xml +++ b/data/skin_default.xml @@ -1,10 +1,16 @@ + + + + - + - + + + @@ -14,33 +20,65 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + Name + + + - + - - + + - - + + - + - - + + - + @@ -48,59 +86,64 @@ - - + + - - - - - + + + + - + - + - + - - + + - + - + - + - + - + + + + + + + - + - + @@ -109,7 +152,7 @@ - + @@ -128,6 +171,9 @@ + + + @@ -150,10 +196,9 @@ - - - - + + + @@ -170,7 +215,7 @@ - + @@ -181,19 +226,45 @@ - + + + RadioText + - + + Name + - - - - - - - - + + WithSeconds + + + Progress + + + StartTime + Default + + + StartTime + Default + + + Name + + + Name + + + + Remaining + InMinutes + + + Duration + InMinutes + @@ -236,10 +307,19 @@ + + + + + + + + - + + @@ -251,7 +331,17 @@ - + + + + + + + + + + + @@ -265,13 +355,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,14 +373,14 @@ 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())) + @@ -300,7 +391,7 @@ self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) - + @@ -309,11 +400,27 @@ self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) - - - - - + + + + Remaining + + + + + + + + + + + + + + + # this should be factored out into some helper code, but currently demonstrates applets. @@ -351,4 +458,18 @@ newwidth = wsize[0] self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) - \ No newline at end of file + + + + + + + + + + + + + + +