[SailfishDevel] pulldown menu goes through lower clip area
Wim de Vries
wsvries at xs4all.nl
Wed Dec 11 15:01:55 UTC 2013
Hi,
Trying to set up a GUI.
I have a nice small pulldown menu within a rectangle, clip:true.
Still, below the rectangle a shady column appears when I pull down the menu.
code:
MyGroupBox {
visible : true
id: r1
y :40
anchors.left : parent.left
width: 350
height : 121
MInnerRectangle
{
SilicaFlickable {
id : fl
anchors.fill: parent
clip : true
contentHeight: childrenRect.height
PullDownMenu {
id : pmenu
background: Rectangle {
anchors
{
fill: parent
bottomMargin: parent.spacing
}
opacity: 1.0
color: "#000000" //theme.highlightColor
}
MMenuItem
{
id: timerStartRadioButton
text: "RUN/CONTINUE"
//onClicked : {pmenu.cancelBounceBack();
console.log("Clicked Option 1")}
}
MMenuItem
{
id: timerStopRadioButton
text: "STOP"
//onClicked : {pmenu.cancelBounceBack();
console.log("Clicked Option 1")}
}
MMenuItem
{
id: timerButton
text: "RESET"
//onClicked : {pmenu.cancelBounceBack();
console.log("Clicked Option 1")}
}
}
see attched screenshot (when menu [with different colors] is pulled down.)
Any hints?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131211/499a0994/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.png
Type: image/png
Size: 36711 bytes
Desc: not available
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131211/499a0994/attachment.png>
More information about the Devel
mailing list