Commit b3f79ae
committed
fix(toolbar): improve toolbar positioning on HiDPI displays
Adjusted the toolbar positioning logic to account for pixel ratio differences in Qt6+XCB environments. The changes ensure that the toolbar remains within screen bounds by applying consistent boundary checks using logical coordinates. This fix addresses potential offscreen positioning issues when the toolbar is displayed on high-DPI screens.
bug: https://pms.uniontech.com/bug-view-354679.html1 parent 68a8ce7 commit b3f79ae
1 file changed
Lines changed: 142 additions & 105 deletions
0 commit comments