Skip to content

Commit e1b2c20

Browse files
committed
fix: candidate box wrong size in high DPI
1 parent c2145b1 commit e1b2c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/RabbitCandidateBox.ahk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class CandidateBox extends Gui {
2929

3030
__New() {
3131
super.__New(, , this)
32-
this.Opt("-Caption +Owner AlwaysOnTop " . WS_EX_NOACTIVATE)
32+
this.Opt("-DPIScale -Caption +Owner AlwaysOnTop " . WS_EX_NOACTIVATE)
3333
this.MarginX := 3
3434
this.MarginY := 3
3535
this.BackColor := 0x191919

0 commit comments

Comments
 (0)