Skip to content
Commit 41a85714 authored by Volker Krause's avatar Volker Krause
Browse files

Fix hit detection for labels with a fixed (maximum) text width

QStaticText will always report the maximum size, which can result in
too large bounding boxes and thus wrong hits on nearby labels. To fix
this we now compute the text width manually in that case, and adjust the
hit box accordingly.
parent 7da03c22
Pipeline #273325 passed with stage
in 2 minutes and 10 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment