obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

obs-text: Fix alignment with extents

Open exeldro opened this issue 1 year ago • 1 comments

Description

make alignment and vertical alignment work as expected image

Made a new version to keep old gdi+ text sources the same.

Motivation and Context

Make the alignment options do what people expect it to do. Fixes #3373

How Has This Been Tested?

On windows 11 by creating the text sources you see in the screenshot above

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • [x] My code has been run through clang-format.
  • [x] I have read the contributing document.
  • [x] My code is not on the master branch.
  • [x] The code has been tested.
  • [x] All commit messages are properly formatted and commits squashed where appropriate.
  • [x] I have included updates to all appropriate documentation.

exeldro avatar Feb 10 '24 21:02 exeldro

Can confirm this fixes the issue. Pulled the artifact from this build, started a clean instance and tested the word wrap. image

Thank you for your work on this @exeldro

JDDoesDev avatar Feb 10 '24 23:02 JDDoesDev