mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
extra sizing conditions for sys tray
This commit is contained in:
parent
3c79cc5213
commit
d2149e0705
6 changed files with 147 additions and 73 deletions
|
|
@ -119,7 +119,7 @@ PopupWindow {
|
|||
// needed to handle occurences where items are resized while open
|
||||
onImplicitWidthChanged: {
|
||||
if (root.isOpen && popupContent.data !== []) {
|
||||
console.log("repositioning popup");
|
||||
// console.log("repositioning popup");
|
||||
let itemPos = root.item.mapToItem(root.bar.contentItem, 0, root.bar.height, root.item.width, 0).x;
|
||||
root.position(itemPos);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue