Fix #95105: Unclamp draw size of the frame node's label #104555

Merged
Leon Schittek merged 5 commits from lone_noel/blender:fix-95105-unclamp-frame-node-label into main 2023-03-10 18:24:33 +01:00

5 Commits

Author SHA1 Message Date
Leon Schittek 7b8d534a6e Merge branch 'main' into fix-95105-unclamp-frame-node-label 2023-03-10 18:22:51 +01:00
Leon Schittek b22f16140b Merge branch 'main' into fix-95105-unclamp-frame-node-label
buildbot/vexp-code-patch-coordinator Build done. Details
2023-03-10 17:43:49 +01:00
Leon Schittek d7222bac41 Use const. Comment formatting. 2023-03-04 16:10:01 +01:00
Leon Schittek bcf42bbe64 Cleanup: Unify frame node label height calculation.
This now relies on the fix in #105389 to make the text clipping sane.
2023-03-04 16:10:01 +01:00
Leon Schittek 2dd9647365 Fix #95105: Unclamp draw size of the frame node's label
Fix issues with the display of frame node labels, that made them
harder to read for people with low vision or on high dpi displays:
* Unclamp the size of text that is drawn in the frame node
  so all sizes can be displayed consistently at all zoom levels
  and independet of the UI scale.
* Account for the label when calculating the frame node's
  bounds, so child nodes don't obscure the label.
2023-03-04 16:10:00 +01:00