<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi <span style="font-family: 'times new roman', 'new york', times, serif; background-color: rgb(255, 255, 255); font-size: 16px;">Joćo</span><span style="font-size: 10pt;">,</span><br>
<div><br>
</div>
<div>Application cover<span style="font-size: 10pt;"> </span><span style="font-size: 10pt;">should have it's own UI, because it</span><span style="font-size: 10pt;"> has different </span><span style="font-size: 10pt;">layout</span><span style="font-size: 10pt;"> dimensions
 than the full-screen application page, different background (often CoverBackground) and in most cases should have cover actions. Cover and a page can share an UI component, provided that UI component somehow handles the layout differences, e.g. CoverBackground
 { TimerItem { coverMode: true } CoverActionList { ... } } vs. Page { TimerItem { coverMode: false } }.</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;">Binding initialPage property to cover property is not ok.</span></div>
<div><br>
</div>
<div>
<pre style="font-size: 16px; background-color: rgb(255, 255, 255); margin-top: 0px; margin-bottom: 0px;"><font face="times new roman,new york,times,serif">Cheers,</font></pre>
<pre style="font-size: 16px; background-color: rgb(255, 255, 255); margin-top: 0px; margin-bottom: 0px;"><font face="times new roman,new york,times,serif"><br></font></pre>
<pre style="font-size: 16px; background-color: rgb(255, 255, 255); margin-top: 0px; margin-bottom: 0px;"><font face="times new roman,new york,times,serif">Joona</font></pre>
<pre style="font-size: 16px; background-color: rgb(255, 255, 255); margin-top: 0px; margin-bottom: 0px;"><font face="times new roman,new york,times,serif"><br></font></pre>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF613458" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> devel-bounces@lists.sailfishos.org [devel-bounces@lists.sailfishos.org] on behalf of joao morgado [joaodeusmorgado@yahoo.com]<br>
<b>Sent:</b> 14 June 2013 05:38<br>
<b>To:</b> devel@lists.sailfishos.org<br>
<b>Subject:</b> [SailfishDevel] Make cover page equal to First page<br>
</font><br>
</div>
<div></div>
<div>
<div style="color:#000; background-color:#fff; font-family:times new roman,new york,times,serif; font-size:12pt">
<div style="font-family:'times new roman','new york',times,serif">Hi again</div>
<div style="font-family:'times new roman','new york',times,serif"><br>
</div>
<div style="font-family:'times new roman','new york',times,serif; color:rgb(0,0,0); font-size:16px; background-color:transparent; font-style:normal">
The app that I'm portin from Meego, it's a timer, so I need the cover to look the same has the first page, so the user can <span style="background-color:transparent">see the time running in the cover, just like in the first page.</span></div>
<div style="font-family:'times new roman','new york',times,serif; color:rgb(0,0,0); font-size:16px; background-color:transparent; font-style:normal">
<span style="background-color:transparent"><br>
</span></div>
<div style="font-family:'times new roman','new york',times,serif; color:rgb(0,0,0); font-size:16px; background-color:transparent; font-style:normal">
<span style="background-color:transparent">So, I did:</span></div>
<div style="font-family:'times new roman','new york',times,serif; color:rgb(0,0,0); font-size:16px; background-color:transparent; font-style:normal">
<span style="background-color:transparent"><br>
</span></div>
<div style="color:rgb(0,0,0); font-size:16px; background-color:transparent; font-style:normal; font-family:'times new roman','new york',times,serif">
<span style="background-color:transparent">
<pre style="font-family:'times new roman','new york',times,serif; margin-top:0px; margin-bottom:0px"><span style="color:#800080">ApplicationWindow</span></pre>
<pre style="font-family:'times new roman','new york',times,serif; margin-top:0px; margin-bottom:0px">{</pre>
<pre style="font-family:'times new roman','new york',times,serif; margin-top:0px; margin-bottom:0px"><span style="color:#c0c0c0">    </span><span style="color:#800000">initialPage</span>:<span style="color:#c0c0c0"> </span><span style="color:#800080">FirstPage</span><span style="color:#c0c0c0"> </span>{<span style="color:#c0c0c0"> </span>}</pre>
<pre style="font-family:'times new roman','new york',times,serif; margin-top:0px; margin-bottom:0px"><span style="color:#c0c0c0">    </span><span style="color:#800000">cover</span>:<span style="color:#c0c0c0"> </span><span style="font-style:italic">initialPage</span><span style="color:#c0c0c0"> </span><span style="color:#008000">//Qt.resolvedUrl("cover/CoverPage.qml")</span></pre>
<pre style="font-family:'times new roman','new york',times,serif; margin-top:0px; margin-bottom:0px">}</pre>
<pre style="font-family:'times new roman','new york',times,serif; margin-top:0px; margin-bottom:0px"><span style="font-family:'times new roman','new york',times,serif; white-space:normal"><br></span></pre>
<pre style="font-family:'times new roman','new york',times,serif; margin-top:0px; margin-bottom:0px"><span style="font-family:'times new roman','new york',times,serif; white-space:normal">This works but when the app is in cover mode, the timer freezes, (unlike the meego N9 version, who keep running) and something gets messed up in the simulator, because when clicking the cover to return to first page,  the app doesnt appear anymore, only the sailfish background.</span><br></pre>
<pre style="margin-top:0px; margin-bottom:0px"><font face="times new roman, new york, times, serif"><span style="white-space:normal">Any ideias ?</span></font></pre>
<pre style="margin-top:0px; margin-bottom:0px"><font face="times new roman, new york, times, serif"><span style="white-space:normal"><br></span></font></pre>
<pre style="margin-top:0px; margin-bottom:0px"><font face="times new roman, new york, times, serif"><span style="white-space:normal">Regards</span></font></pre>
<pre style="margin-top:0px; margin-bottom:0px"><font face="times new roman, new york, times, serif"><span style="white-space:normal">Joćo de Deus</span></font></pre>
</span></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>