X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/1609175bb343a0e8e7c0b634b9582f76d6d72eb8..a65edb264cc943a2a15b6886d9fa3190a92373c0:/data/skin_default.xml diff --git a/data/skin_default.xml b/data/skin_default.xml index e829da56..9bb9e860 100644 --- a/data/skin_default.xml +++ b/data/skin_default.xml @@ -4,7 +4,9 @@ - + + + @@ -14,33 +16,57 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - + + - - + + - + - - + + - + @@ -48,59 +74,58 @@ - - + + - - - - - + + + + - + - + - + - + - + - + - + - + - + - + - + @@ -109,7 +134,7 @@ - + @@ -153,10 +178,9 @@ - - - - + + + @@ -173,7 +197,7 @@ - + @@ -187,16 +211,39 @@ - + + Name + - - - - - - - - + + WithSeconds + + + Progress + + + StartTime + Default + + + StartTime + Default + + + Name + + + Name + + + + Remaining + InMinutes + + + Duration + InMinutes + @@ -239,10 +286,18 @@ + + + + + + + + - + @@ -268,13 +323,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) @@ -285,7 +341,7 @@ 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)) @@ -303,7 +359,7 @@ newwidth = wsize[0] - + @@ -315,14 +371,24 @@ newwidth = wsize[0] - + + Remaining + + + + + + + + - - - - - + + + + + + # this should be factored out into some helper code, but currently demonstrates applets. @@ -360,4 +426,4 @@ newwidth = wsize[0] self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) - \ No newline at end of file +