split out dialogs into skin_default.xml
[openblackhole/openblackhole-enigma2.git] / data / skin_default.xml
1 <skin>
2         <screen name="Standby" flags="wfNoBorder" position="0,0" size="720,576" title="Standby">
3         </screen>
4         <screen name="Menu" position="210,150" size="300,235" title="Main menu">
5                 <widget name="title" position="10,10" size="280,35" font="Regular;23" />
6                 <!--<widget name="menu" position="10,55" size="280,150" font="Regular;23" />-->
7                 <widget name="menu" position="10,55" size="290,175" scrollbarMode="showOnDemand" />
8         </screen>
9         <screen name="BouquetSelector" position="210,150" size="300,195" title="Choose bouquet">
10                 <widget name="menu" position="10,10" size="280,175" scrollbarMode="showOnDemand" />
11         </screen>
12         <screen name="ChannelContextMenu" position="210,150" size="300,195" title="Channellist menu">
13                 <widget name="menu" position="10,10" size="280,175" scrollbarMode="showOnDemand" />
14         </screen>
15         <screen name="Scart" position="0,0" size="720,576">
16         </screen>
17         <screen name="ServiceInfo" position="100,120" size="560,370" title="Serviceinfo">
18                 <widget name="red" position="0,0" size="140,40" backgroundColor="red" valign="center" halign="center" font="Regular;21" />
19                 <widget name="green" position="140,0" size="140,40" backgroundColor="green" valign="center" halign="center" font="Regular;21" />
20                 <widget name="yellow" position="280,0" size="140,40" backgroundColor="yellow" valign="center" halign="center" font="Regular;21" />
21                 <widget name="blue" position="420,0" size="140,40" backgroundColor="blue" valign="center" halign="center" font="Regular;21" />
22                 <widget name="infolist" position="20,50" size="560,365" selectionDisabled="1"/>
23         </screen>
24         <screen name="AudioSelection" position="210,150" size="300,170" title="Audio">
25                 <widget name="tracks" position="20,10" size="260,150" scrollbarMode="showOnDemand" />
26         </screen>
27         <screen name="SubserviceSelection" position="210,150" size="300,250" title="Subservices">
28                 <widget name="subservices" position="20,10" size="260,230" scrollbarMode="showOnDemand" />
29         </screen>
30         <screen name="HarddiskWait" position="140,165" size="360,60">
31                 <widget name="wait" position="20,10" size="320,25" font="Regular;23"/>
32         </screen>
33         <screen name="HarddiskSelection" position="140,165" size="360,100" title="Select HDD">
34                 <widget name="hddlist" position="20,10" size="320,75" />
35         </screen>
36         <screen name="HarddiskSetup" position="140,165" size="420,160" title="Harddisk">
37                 <widget name="model" position="20,10" size="380,25" font="Regular;23"  />
38                 <widget name="capacity" position="20,40" size="380,25" font="Regular;23"  />
39                 <widget name="bus" position="20,70" size="380,25" font="Regular;23"  />
40                 <widget name="initialize" position="40,110" size="120,30" zPosition="1" pixmap="init.png" />
41                 <widget name="initializetext" position="40,110" size="120,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
42         </screen>
43         <screen name="Setup" position="100,125" size="540,280" title="Setup">
44                 <widget name="title" position="10,10" size="280,35" font="Regular;23" />
45                 <widget name="config" position="10,50" size="520,175" scrollbarMode="showOnDemand" />
46                 <widget name="ok" position="140,240" size="53,30" pixmap="ok.png" />
47                 <widget name="oktext" position="140,240" size="53,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
48                 <widget name="cancel" position="240,240" size="100,30" pixmap="cancel.png" />
49                 <widget name="canceltext" position="240,240" size="100,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
50         </screen>
51         <screen name="LanguageSelection" position="200,125" size="220,250" title="Language selection">
52                 <widget name="list" position="10,0" size="190,250" scrollbarMode="showOnDemand" />
53         </screen>
54         <screen name="PluginBrowser" position="170,125" size="400,350" title="Plugin browser">
55                 <widget name="red" position="0,0" size="200,40" backgroundColor="red" valign="center" halign="center" font="Regular;20" />
56                 <widget name="green" position="200,0" size="200,40" backgroundColor="green" valign="center" halign="center" font="Regular;20" />
57
58                 <widget name="list" position="10,50" size="380,280" scrollbarMode="showOnDemand" />
59         </screen>
60         <screen name="PluginDownloadBrowser" position="170,125" size="400,350" title="Downloadable plugins">
61                 <widget name="text" position="10,00" size="380,330" zPosition="1" font="Regular;20" />
62                 <widget name="list" position="10,00" size="380,330" zPosition="2" scrollbarMode="showOnDemand" />
63         </screen>
64         <screen name="NimSelection" position="140,165" size="400,100" title="select Slot">
65                 <widget name="nimlist" position="20,10" size="360,75" />
66         </screen>
67         <screen name="CiWait" position="140,165" size="360,50" title="Common Interface">
68                 <widget name="message" position="20,10" size="320,25" font="Regular;23" />
69         </screen>
70         <screen name="CiSelection" position="140,165" size="360,100" title="Common Interface">
71                 <widget name="entries" position="10,10" size="340,75" />
72         </screen>
73         <screen name="CiMmi" position="130,165" size="450,270">
74                 <widget name="title" position="10,10" size="430,25" font="Regular;23" />
75                 <widget name="subtitle" position="10,35" size="430,25" font="Regular;23" />
76                 <widget name="entries" position="10,70" size="430,150" scrollbarMode="showOnDemand" />
77                 <widget name="bottom" position="10,230" size="430,25" font="Regular;23" />
78         </screen>
79         <screen name="NimSetup" position="90,98" size="560,410" title="Satconfig">
80                 <widget name="config" position="0,0" size="560,402" scrollbarMode="showOnDemand" />
81         </screen>
82         <screen name="ScanSetup" position="90,100" size="520,400" title="Service scan">
83                 <widget name="config" position="20,10" size="460,350" scrollbarMode="showOnDemand" />
84                 <widget name="introduction" position="20,360" size="350,30" font="Regular;23" />
85         </screen>
86         <screen name="ScanSimple" position="150,100" size="400,300" title="Service scan">
87                 <widget name="header" position="20,10" size="280,25" font="Regular;23"/>
88                 <widget name="config" position="20,45" size="360,200" scrollbarMode="showOnDemand" />
89                 <widget name="footer" position="20,250" size="360,25" font="Regular;23"/>
90                 <!--<widget name="introduction" position="20,360" size="280,30" font="Regular;23" />-->
91         </screen>
92         <screen name="TimerEntry" position="100,100" size="500,400" title="Timer entry">
93                 <widget name="config" position="5,10" size="480,350" />
94                 <widget name="ok" position="140,365" size="53,30" pixmap="ok.png" />
95                 <widget name="oktext" position="140,365" size="53,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
96                 <widget name="cancel" position="240,365" size="100,30" pixmap="cancel.png" />
97                 <widget name="canceltext" position="240,365" size="100,30" valign="center" halign="center" zPosition="2" font="Regular;20" transparent="1" />
98         </screen>
99         <screen name="NetworkSetup" position="140,125" size="460,280" title="Network Setup">
100                 <widget name="config" position="10,50" size="420,175" scrollbarMode="showOnDemand" />
101                 <widget name="introduction" position="10,230" size="400,30" font="Regular;23" />
102         </screen>
103         <screen name="About" position="140,125" size="360,250" title="About">
104                 <widget name="text" position="10,30" size="420,20" font="Regular;18"/>
105                 <widget name="fpVersion" position="10,50" size="420,20" font="Regular;18"/>
106                 <widget name="tuner" position="10,80" size="420,20" font="Regular;18"/>
107                 <widget name="tuner0" position="10,100" size="420,20" font="Regular;18"/>
108                 <widget name="tuner1" position="10,120" size="420,20" font="Regular;18"/>
109                 <widget name="hdd" position="10,170" size="420,20" font="Regular;18"/>
110                 <widget name="hddA" position="10,190" size="420,40" font="Regular;18"/>
111         </screen>
112         <screen name="configOSD" position="140,125" size="460,350" title="OSD Settings">
113                 <widget name="okbutton" position="20,270" size="205,40" />
114                 <widget name="txt_alpha" position="20,20" size="110,20" />
115                 <widget name="sld_alpha" position="150,20" size="290,20" />
116                 <widget name="txt_brightness" position="20,60" size="120,20" />
117                 <widget name="sld_brightness" position="150,20" size="290,20" />
118                 <widget name="txt_gamma" position="20,100" size="120,20" />
119                 <widget name="sld_gamma" position="150,100" size="290,20" />
120         </screen>
121         <screen name="configTest" position="300,100" size="300,300" title="config menu">
122                 <widget name="config" position="10,30" size="420,220" />
123         </screen>
124         <screen name="TimerEditList" position="70,100" size="560,400" title="Timer Editor">
125                 <widget name="timerlist" position="0,45" size="560,350" scrollbarMode="showOnDemand" />
126                 <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
127                 <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
128                 <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
129                 <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
130         </screen>
131         <screen name="TimerSanityConflict" position="70,100" size="600,400" title="Timer sanity error">
132                 <widget name="timer1" position="0,45" size="290,80" scrollbarMode="showOnDemand" />
133                 <widget name="timer2" position="310,45" size="280,80" scrollbarMode="showOnDemand" />
134                 <widget name="list" position="0,160" size="250,240" scrollbarMode="showOnDemand" />
135                 <widget name="key_red" position="0,0" size="145,40" backgroundColor="red" font="Regular;21" />
136                 <widget name="key_green" position="145,0" size="145,40" backgroundColor="green" font="Regular;21" />
137                 <widget name="key_yellow" position="310,0" size="145,40" backgroundColor="yellow" font="Regular;21" />
138                 <widget name="key_blue" position="455,0" size="145,40" backgroundColor="blue" font="Regular;21" />
139         </screen>
140         <screen name="TimerLog" position="70,100" size="560,400" title="Timer log">
141                 <widget name="loglist" position="0,45" size="560,250" scrollbarMode="showOnDemand" />
142                 <widget name="logentry" position="0,300" size="560,140" font="Regular;20" />
143                 <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
144                 <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
145                 <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
146                 <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
147         </screen>
148         <screen name="clockDisplay" position="300,100" size="300,300">
149                 <widget name="okbutton" position="10,10" size="280,40" />
150                 <widget name="title" position="10,120" size="280,50" />
151                 <widget name="theClock" position="10,60" size="280,50" />
152         </screen>
153
154         <screen name="NumberZap" position="200,140" size="280,60" title="Channel">
155                 <widget name="channel" position="50,15" size="110,25" font="Regular;23" />
156                 <widget name="number" position="160,15" size="80,25" halign="right" font="Regular;23" />
157         </screen>
158         <screen name="MinuteInput" position="200,140" size="280,60" title="Seek">
159                 <widget name="minutes" position="80,15" size="160,25" halign="right" font="Regular;23" />
160         </screen>
161         <screen name="Volume" flags="wfNoBorder" position="450,50" size="180,60" title="Volume" zPosition="1" >
162                 <ePixmap position="0,0" zPosition="0" size="180,60" pixmap="volumeslider-fs8.png" />
163                 <widget name="Volume" zPosition="1" position="8,38" size="164,11" backgroundColor="dark" />
164         </screen>
165         <screen name="Mute" flags="wfNoBorder" position="100,100" size="59,80" title="Mute" zPosition="-1">
166                 <ePixmap position="0,0" size="59,80" pixmap="mute-fs8.png" />
167         </screen>
168         <screen name="Dish" flags="wfNoBorder" position="300,100" size="100,107" title="Dish" zPosition="-10" >
169                 <widget name="transparent" zPosition="-1" position="0,0" size="100,107" backgroundColor="transparent" />
170                 <widget name="Dishpixmap" pixmap="dish.png" position="0,0" size="100,107" />
171         </screen>
172                 <screen name="ChannelSelection" position="90,98" size="560,417" title="Channel Selection">
173                 <widget name="list" position="00,45" size="560,364" scrollbarMode="showOnDemand" />
174                 <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
175                 <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
176                 <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
177                 <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
178         </screen>
179         <screen name="ChannelSelectionRadio" position="90,98" size="560,307" title="Channel Selection">
180                 <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
181                 <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
182                 <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
183                 <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
184                 <widget name="list" position="0,45" size="560,252" scrollbarMode="showOnDemand" />
185         </screen>
186         <screen name="RadioInfoBar" position="90,420" size="560,105" zPosition="-1">
187                 <widget name="ServiceName" position="0,0" size="390,26" font="Regular;22" backgroundColor="dark" />
188                 <widget name="BlinkingPoint" pixmap="record.png" position="400,0" zPosition="2" size="58,25" />
189                 <widget name="Clock" position="465,0" size="95,28" font="Regular;22" backgroundColor="dark" />
190                 <widget name="Now_ProgressBar" position="465,27" size="90,9" zPosition="1" borderWidth="2" />
191                 <widget name="Event_Now_StartTime" position="0,44" size="60,22" font="Regular;20" backgroundColor="dark" />
192                 <widget name="Event_Next_StartTime" position="0,74" size="60,22" font="Regular;20" backgroundColor="dark" />
193                 <widget name="Event_Now" position="80,44" size="380,22" font="Regular;20" backgroundColor="dark" />
194                 <widget name="Event_Next" position="80,74" size="380,22" font="Regular;20" backgroundColor="dark" />
195                 <widget name="Event_Now_Duration" position="470,44" size="150,22" font="Regular;20" backgroundColor="dark" />
196                 <widget name="Event_Next_Duration" position="470,74" size="150,22" font="Regular;20" backgroundColor="dark" />
197         </screen>
198         <screen name="SimpleChannelSelection" position="90,98" size="560,417" title="Channel Selection">
199                 <widget name="list" position="00,45" size="560,364" scrollbarMode="showOnDemand" />
200                 <widget name="key_red" position="0,0" size="140,40" backgroundColor="red" font="Regular;21" />
201                 <widget name="key_green" position="140,0" size="140,40" backgroundColor="green" font="Regular;21" />
202                 <widget name="key_yellow" position="280,0" size="140,40" backgroundColor="yellow" font="Regular;21" />
203                 <widget name="key_blue" position="420,0" size="140,40" backgroundColor="blue" font="Regular;21" />
204         </screen>
205         <screen name="EPGSelection" position="90,100" size="560,420" title="EPG Selection">
206                 <widget name="key_red" position="0,0" size="140,30" backgroundColor="red" font="Regular;21" />
207                 <widget name="key_green" position="140,0" size="140,30" backgroundColor="green" font="Regular;21" />
208                 <widget name="key_yellow" position="280,0" size="140,30" backgroundColor="yellow" font="Regular;21" />
209                 <widget name="key_blue" position="420,0" size="140,30" backgroundColor="blue" font="Regular;21" />
210                 <widget name="list" position="0,40" size="560,375" scrollbarMode="showOnDemand" />
211         </screen>
212         <screen name="EPGSelectionMulti" position="90,100" size="560,420" title="EPG Selection">
213                 <widget name="key_red" position="0,0" size="140,30" backgroundColor="red" font="Regular;21" />
214                 <widget name="key_green" position="140,0" size="140,30" backgroundColor="green" font="Regular;21" />
215                 <widget name="key_yellow" position="280,0" size="140,30" backgroundColor="yellow" font="Regular;21" />
216                 <widget name="key_blue" position="420,0" size="140,30" backgroundColor="blue" font="Regular;21" />
217                 <widget name="now_button" position="10,40" size="123,40" pixmap="button-fs8.png" />
218                 <widget name="next_button" position="143,40" size="123,40" pixmap="button-fs8.png" />
219                 <widget name="more_button" position="276,40" size="123,40" pixmap="button-fs8.png" />
220                 <widget name="now_button_sel" position="10,40" size="123,40" pixmap="button-selected-fs8.png" />
221                 <widget name="next_button_sel" position="143,40" size="123,40" pixmap="button-selected-fs8.png" />
222                 <widget name="more_button_sel" position="276,40" size="123,40" pixmap="button-selected-fs8.png" />
223                 <widget name="now_text" text="NOW" zPosition="2" position="10,40" size="123,40" transparent="1" halign="center" valign="center" font="Regular;21" />
224                 <widget name="next_text" text="NEXT" zPosition="2" position="143,40" size="123,40" transparent="1" halign="center" valign="center" font="Regular;21" />
225                 <widget name="more_text" text="MORE" zPosition="2" position="276,40" size="123,40" transparent="1" halign="center" valign="center" font="Regular;21" />
226                 <widget name="date" position="410,40" size="140,40" valign="center" halign="right" font="Regular;24" />
227                 <widget name="list" position="00,85" size="560,325" scrollbarMode="showOnDemand" />
228         </screen>
229         <screen name="EventView" position="100,100" size="520,380" title="Eventview">
230                 <widget name="key_red" position="0,0" size="130,30" backgroundColor="red" font="Regular;21" />
231                 <widget name="key_green" position="130,0" size="130,30" backgroundColor="green" font="Regular;21" />
232                 <widget name="key_yellow" position="260,0" size="130,30" backgroundColor="yellow" font="Regular;21" />
233                 <widget name="key_blue" position="390,0" size="130,30" backgroundColor="blue" font="Regular;21" />
234                 <widget name="epg_description" position="10,40" size="500,305" font="Regular;22" />
235                 <widget name="datetime" position="10,345" size="130,30" font="Regular;22" />
236                 <widget name="duration" position="140,345" size="100,30" font="Regular;22" />
237                 <widget name="channel" position="240,345" size="270,30" font="Regular;22" />
238         </screen>
239         <screen name="MovieSelection" position="90,98" size="560,415" title="Select a movie">
240                 <widget name="waitingtext" position="0,0" size="500,335" zPosition="2" font="Regular;22" />
241                 <widget name="list" position="0,0" size="560,375" zPosition="1" scrollbarMode="showOnDemand" />
242                 <widget name="freeDiskSpace" position="10,380" size="540,30" font="Regular;25" />
243         </screen>
244         <screen name="ServiceScan" position="200,100" size="300,330" title="Service Scan">
245                 <widget name="pass" position="10,10" size="280,30" font="Regular;20" />
246                 <widget name="scan_progress" position="10,45" size="280,20" />
247                 <widget name="scan_state" position="10,65" size="280,60" font="Regular;20" />
248                 <widget name="servicelist" position="10,135" size="280,175" selectionDisabled="1" />
249         </screen>
250         <screen name="InputBox" position="100,100" size="550,60" title="Input" >
251                 <widget name="text" position="0,0" size="550,25" font="Regular;20" />
252                 <widget name="input" position="0,30" size="550,25" font="Regular;20" />
253         </screen>
254         <screen name="ChoiceBox" position="100,100" size="550,400" title="Input" >
255                 <widget name="text" position="0,0" size="550,25" font="Regular;20" />
256                 <widget name="list" position="0,30" size="550,335" scrollbarMode="showOnDemand" />
257                 <applet type="onLayoutFinish">
258 # this should be factored out into some helper code, but currently demonstrates applets.
259 from enigma import eSize, ePoint
260
261 orgwidth = self.instance.size().width()
262 orgpos = self.instance.position()
263 textsize = self["text"].getSize()
264
265 # y size still must be fixed in font stuff...
266 textsize = (textsize[0] + 50, textsize[1] + 50)
267 count = len(self.list)
268 if count > 6:
269         count = 6
270 offset = 30 * count
271 wsizex = textsize[0] + 60
272 wsizey = textsize[1] + offset
273 if (400 > wsizex):
274         wsizex = 400
275 wsize = (wsizex, wsizey)
276
277
278 # resize
279 self.instance.resize(eSize(*wsize))
280
281 # resize label
282 self["text"].instance.resize(eSize(*textsize))
283
284 # move list
285 listsize = (wsizex, 30 * len(self.list))
286 self["list"].instance.move(ePoint(0, textsize[1]))
287 self["list"].instance.resize(eSize(*listsize))
288
289 # center window
290 newwidth = wsize[0]
291 self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y()))
292                 </applet>                       
293         </screen>
294         <screen name="TimerEdit" position="70,100" size="590,335" title="Timer Edit">
295                 <widget name="description" position="10,10" size="580,40" font="Regular;25" />
296                 <widget name="lbegin" position="405,102" size="103,30" font="Regular;25" foregroundColor="red" />
297                 <widget name="lend" position="405,158" size="103,30" font="Regular;25" foregroundColor="green" />
298                 <widget name="begin" position="508,105" size="72,35" font="Regular;25" />
299                 <widget name="end" position="508,150" size="72,35" font="Regular;25" />
300                 <widget name="apply" position="10,240" size="250,35" />
301         </screen>
302         <screen name="HelpMenu" flags="wfNoBorder" position="0,0" size="720,576" title="Menu">
303                 <widget name="list" position="50,100" size="450,375" scrollbarMode="showOnDemand" />
304                 <widget name="rc" pixmap="rc.png" position="540,50" zPosition="10" size="154,475" transparent="1" alphatest="on"/>
305                 <widget name="arrowup" pixmap="arrowup.png" position="585,425" zPosition="11" size="37,70" transparent="1" alphatest="on"/>
306                 <eLabel position="400,40" size="220,60" text="help..." font="Regular;50" />
307         </screen>
308         <screen name="PVRState" flags="wfNoBorder" position="70,70" size="150,30" backgroundColor="transpBlack" zPosition="2">
309                 <widget name="state" position="0,0" size="150,30" font="Regular;25" halign="center" 
310                         backgroundColor="transpBlack" foregroundColor="white" />
311         </screen>
312         <screen name="MessageBox" position="60,300" size="600,10" title="Message">
313                 <widget name="text" position="60,10" size="520,0" font="Regular;22" />
314                 <widget name="ErrorPixmap" pixmap="error.png" position="0,0" zPosition="3" size="53,53" alphatest="on" transparent="1" />
315                 <widget name="QuestionPixmap" pixmap="question.png" position="0,0" zPosition="3" size="53,53" alphatest="on" transparent="1" />
316                 <widget name="InfoPixmap" pixmap="info.png" position="0,0" zPosition="3" size="53,53" alphatest="on" transparent="1" />
317                 <widget name="list" position="100,100" size="480,375" />
318                 <applet type="onLayoutFinish">
319 # this should be factored out into some helper code, but currently demonstrates applets.
320 from enigma import eSize, ePoint
321
322 orgwidth = self.instance.size().width()
323 orgpos = self.instance.position()
324 textsize = self["text"].getSize()
325
326 # y size still must be fixed in font stuff...
327 textsize = (textsize[0] + 50, textsize[1] + 50)
328 offset = 0
329 if self.type == self.TYPE_YESNO:
330         offset = 60
331 wsizex = textsize[0] + 60
332 wsizey = textsize[1] + offset
333 if (280 > wsizex):
334         wsizex = 280
335 wsize = (wsizex, wsizey)
336
337
338 # resize
339 self.instance.resize(eSize(*wsize))
340
341 # resize label
342 self["text"].instance.resize(eSize(*textsize))
343
344 # move list
345 listsize = (wsizex, 50)
346 self["list"].instance.move(ePoint(0, textsize[1]))
347 self["list"].instance.resize(eSize(*listsize))
348
349 # center window
350 newwidth = wsize[0]
351 self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y()))
352                 </applet>
353         </screen>
354 </skin>