Re: [SailfishDevel] cannot hide() contextmenu

2013-12-18 Thread Bea Lam
On 19 Dec 2013, at 12:45 am, Wim de Vries wrote: > Thx. That works. > Maybe sth for in the documentation in the future? Sounds good, I’ll add a note to the docs to say that the height of the ContextMenu should not be explicitly set or changed. cheers, Bea

Re: [SailfishDevel] cannot hide() contextmenu

2013-12-18 Thread Wim de Vries
Thx. That works. Maybe sth for in the documentation in the future? On 12/18/2013 02:24 AM, Bea Lam wrote: Hello, On 17 Dec 2013, at 11:17 pm, Wim de Vries wrote: Hi, I am trying a contextmenu. I can show() it, but not hide it. Clicking on the lower rectangle does not hide it: Just remove the

Re: [SailfishDevel] cannot hide() contextmenu

2013-12-17 Thread Bea Lam
Hello, On 17 Dec 2013, at 11:17 pm, Wim de Vries wrote: > Hi, > I am trying a contextmenu. I can show() it, but not hide it. > Clicking on the lower rectangle does not hide it: Just remove the “anchors.fill: parent” from your ContextMenu declaration. The ContextMenu type internally adjusts its

[SailfishDevel] cannot hide() contextmenu

2013-12-17 Thread Wim de Vries
Hi, I am trying a contextmenu. I can show() it, but not hide it. Clicking on the lower rectangle does not hide it: import QtQuick 2.0 import Sailfish.Silica 1.0 Page { id: pageT Rectangle { id : timerWindow anchors.top: parent.top anchors.left: parent.left anchors.right: pa