<div dir="ltr">If setting the PushUpMenu's visible to false doesn't work, that sounds like a bug to me.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 23, 2014 at 11:35 AM, Tero Siironen <span dir="ltr"><<a href="mailto:izero79@gmail.com" target="_blank">izero79@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have PushUpMenu in my app which currently has only one item, and in<br>
some situations also that item should not be visible. How can I hide<br>
the menu?<br>
<br>
I tried to set MenuItem's visibility to false, but that lead to weird<br>
behaviour; PushUpMenu is still there and empty, but the empty menu can<br>
be pushed up about screen height. I also tried to use visible property<br>
in PushUpMenu, but that doesn't seem to hide the menu.<br>
<br>
Disabling the MenuItem could be one option, but as it still shows the<br>
item's label it would be a bit misleading for the user in my<br>
situation. I would prefer to hide the whole PushUpMenu when there's no<br>
items that could be used.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Tero<br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
</font></span></blockquote></div><br></div>