fix stupid tooltip corner

This commit is contained in:
end-4 2025-04-13 02:27:58 +02:00
parent 08a2cb7234
commit 7b8582124d
4 changed files with 8 additions and 7 deletions

View file

@ -10,7 +10,7 @@ group_toolbar_buttons=false
toolbar_item_spacing=0
toolbar_interior_spacing=2
spread_progressbar=true
composite=false
composite=true
menu_shadow_depth=6
spread_menuitems=false
tooltip_shadow_depth=7

View file

@ -10,7 +10,7 @@ group_toolbar_buttons=false
toolbar_item_spacing=0
toolbar_interior_spacing=2
spread_progressbar=true
composite=false
composite=true
menu_shadow_depth=6
spread_menuitems=false
tooltip_shadow_depth=7

View file

@ -10,7 +10,7 @@ group_toolbar_buttons=false
toolbar_item_spacing=0
toolbar_interior_spacing=2
spread_progressbar=true
composite=false
composite=true
menu_shadow_depth=6
spread_menuitems=false
tooltip_shadow_depth=7

View file

@ -21,8 +21,9 @@ MouseArea {
item.activate();
break;
case Qt.RightButton:
item.hasMenu && menu.open();
break;
if (item.hasMenu) {
menu.open();
}
default:
console.log("Buttonevent unhandled");
}
@ -35,8 +36,8 @@ MouseArea {
anchor.window: bar
anchor.rect.x: root.x + bar.width
anchor.rect.y: root.y
anchor.rect.height: root.height * 3
anchor.edges: Edges.Left | Edges.Bottom
anchor.rect.height: root.height
anchor.edges: Edges.Bottom
}
IconImage {