<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
If using SilicaFlickable just to use pulley menus you need to use
contentHeight: height<br>
<br>
<div class="moz-cite-prefix">15.02.2015 23:52, Antonio Mancini
пишет:<br>
</div>
<blockquote
cite="mid:CAAX4RD7q=wnFg3iHg3TMn0YRvLYbSR-_F=BS=0Bm44WO34J1EQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi, i have a simple PushUpMenu in my app and it
behaves strangely, i can push even if there are no more items.
This is a screenshot: <a moz-do-not-send="true"
href="https://www.dropbox.com/s/2z0owyi5m6rhuua/Screenshot-15-02-15-19-41-30.png?dl=0">https://www.dropbox.com/s/2z0owyi5m6rhuua/Screenshot-15-02-15-19-41-30.png?dl=0</a>
<div><br>
My page is structured like this:
<div><br>
</div>
<div><span style="color:rgb(192,192,192)"> </span>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">Page</span><span style="color:rgb(192,192,192)"> </span>{</pre>
<span style="color:rgb(192,192,192)"></span><span
style="color:rgb(128,0,0)"> id</span>:<span
style="color:rgb(192,192,192)"> </span><span
style="font-style:italic;color:rgb(0,0,0)">page</span></div>
<div><font color="#000000"><i> </i></font><span
style="color:rgb(128,0,128)">SilicaFlickable</span><span
style="color:rgb(192,192,192)"> </span>{</div>
<div> <span style="color:rgb(128,0,0)">id</span>:<span
style="color:rgb(192,192,192)"> </span><span
style="font-style:italic;color:rgb(0,0,0)">root</span></div>
<div>
<pre style="margin-top:0px;margin-bottom:0px"><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">PushUpMenu</span><span style="color:rgb(192,192,192)"> </span>{</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">id</span>:<span style="font-style:italic;color:rgb(0,0,0)">pushUpMenu</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">MenuItem</span><span style="color:rgb(192,192,192)"> </span>{</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">id</span>:<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,0,0)">pauseMenuItem</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">text</span>:<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,85,175)">qsTr</span>(<span style="color:rgb(0,128,0)">"Unpause"</span>)</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">onClicked</span>:<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,0,0)">functions</span>.pause()</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span>}</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">MenuItem</span><span style="color:rgb(192,192,192)"> </span>{</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">id</span>: <span style="font-style:italic;color:rgb(0,0,0)">saveMenuItem</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">text</span>:<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,85,175)">qsTr</span>(<span style="color:rgb(0,128,0)">"Save</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">Game"</span>)</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">onClicked</span>:<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,0,0)">functions</span>.saveGame()</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span>}</pre><pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial,sans-serif;color:rgb(192,192,192)"> </span><span style="font-family:arial,sans-serif">}</span>
</pre><pre style="margin-top:0px;margin-bottom:0px"> }</pre><pre style="margin-top:0px;margin-bottom:0px">}</pre><pre style="margin-top:0px;margin-bottom:0px">
</pre><pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:arial,sans-serif;white-space:normal">Can someone help me?</span>
</pre><div><span style="font-family:arial,sans-serif;white-space:normal">
</span></div></pre>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></pre>
</blockquote>
<br>
</body>
</html>