X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/fd002c45932aa88271af9be88f2d585199ac5a1e..af2d1d61b2312e95998e195a144018a422c9f09a:/data/skin_default.xml?ds=sidebyside
diff --git a/data/skin_default.xml b/data/skin_default.xml
index cddc18f4..d5d5a8d6 100644
--- a/data/skin_default.xml
+++ b/data/skin_default.xml
@@ -1,66 +1,82 @@
-
-
-
+
+
+
+
+
+
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+ Name
+
+
+
-
+
-
-
+
+
-
-
+
+
-
+
-
-
+
+
-
+
@@ -68,68 +84,93 @@
-
-
+
+
+
+
-
-
-
-
-
+
+
+
+
-
+
-
-
+
+
-
+
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -173,14 +214,19 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -193,7 +239,7 @@
-
+
@@ -204,19 +250,48 @@
-
+
+
+ RadioText
+
-
+
+ Name
+
-
-
-
-
-
-
-
-
+
+ WithSeconds
+
+
+ Progress
+
+
+ RasInteractiveAvailable
+
+
+
+ StartTime
+ Default
+
+
+ Name
+
+
+ Remaining
+ InMinutes
+
+
+ Name
+
+
+ StartTime
+ Default
+
+
+ Duration
+ InMinutes
+
@@ -259,13 +334,63 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -277,6 +402,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -286,37 +436,37 @@ from enigma import eSize, ePoint
orgwidth = self.instance.size().width()
orgpos = self.instance.position()
-textsize = self["text"].getSize()
+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 > 10:
+if count > 10:
count = 10
offset = 25 * count
wsizex = textsize[0] + 60
wsizey = textsize[1] + offset
-if (450 > wsizex):
- wsizex = 450
+if (520 > wsizex):
+ wsizex = 520
wsize = (wsizex, wsizey)
-
# resize
self.instance.resize(eSize(*wsize))
# resize label
-self["text"].instance.resize(eSize(*textsize))
+self["text"].instance.resize(eSize(*textsize))
# move list
listsize = (wsizex, 25 * count)
-self["list"].instance.move(ePoint(0, textsize[1]))
-self["list"].instance.resize(eSize(*listsize))
+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((720-wsizex)/2, (576-wsizey)/(count > 7 and 2 or 3)))
+
+
@@ -327,9 +477,11 @@ newwidth = wsize[0]
-
+
+
+
@@ -339,8 +491,10 @@ newwidth = wsize[0]
-
+
+ Remaining
+
@@ -350,11 +504,11 @@ newwidth = wsize[0]
-
-
-
-
-
+
+
+
+
+
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+