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
+1 -1
View File
@@ -10,7 +10,7 @@ group_toolbar_buttons=false
toolbar_item_spacing=0 toolbar_item_spacing=0
toolbar_interior_spacing=2 toolbar_interior_spacing=2
spread_progressbar=true spread_progressbar=true
composite=false composite=true
menu_shadow_depth=6 menu_shadow_depth=6
spread_menuitems=false spread_menuitems=false
tooltip_shadow_depth=7 tooltip_shadow_depth=7
+1 -1
View File
@@ -10,7 +10,7 @@ group_toolbar_buttons=false
toolbar_item_spacing=0 toolbar_item_spacing=0
toolbar_interior_spacing=2 toolbar_interior_spacing=2
spread_progressbar=true spread_progressbar=true
composite=false composite=true
menu_shadow_depth=6 menu_shadow_depth=6
spread_menuitems=false spread_menuitems=false
tooltip_shadow_depth=7 tooltip_shadow_depth=7
@@ -10,7 +10,7 @@ group_toolbar_buttons=false
toolbar_item_spacing=0 toolbar_item_spacing=0
toolbar_interior_spacing=2 toolbar_interior_spacing=2
spread_progressbar=true spread_progressbar=true
composite=false composite=true
menu_shadow_depth=6 menu_shadow_depth=6
spread_menuitems=false spread_menuitems=false
tooltip_shadow_depth=7 tooltip_shadow_depth=7
@@ -21,8 +21,9 @@ MouseArea {
item.activate(); item.activate();
break; break;
case Qt.RightButton: case Qt.RightButton:
item.hasMenu && menu.open(); if (item.hasMenu) {
break; menu.open();
}
default: default:
console.log("Buttonevent unhandled"); console.log("Buttonevent unhandled");
} }
@@ -35,8 +36,8 @@ MouseArea {
anchor.window: bar anchor.window: bar
anchor.rect.x: root.x + bar.width anchor.rect.x: root.x + bar.width
anchor.rect.y: root.y anchor.rect.y: root.y
anchor.rect.height: root.height * 3 anchor.rect.height: root.height
anchor.edges: Edges.Left | Edges.Bottom anchor.edges: Edges.Bottom
} }
IconImage { IconImage {