Hello,

I'm trying to customize my ComboBox. All is working fine except that the
Popup is positioned above the control.

I'm overriding popup using examples in docs. I set its y position to y:
combo.height-1. I.e.

ComboBox {
    id: combo
    .....
    popup: Popup {
         y: combo.height-1
    }
}

Sometimes it works as expected, sometimes - it does not. See the screenshot
below:

[image: image.png]

If I set popup's y to some small value, e.g. 5 (five pixels), it works
"better". Now at least it's positioning it below the combo:

[image: image.png]
If I set it to 10 pixels, this weird thing happens:

[image: image.png]

What is going on? Is it me? Or maybe it's a Qt bug?
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to