Actually... This turned out to be a lot more complicated with D2D than we initially thought. I think we are just going to have to live without this ability. It would take just way too much ugly, hacky code to accomplish this. The issue arises with StringAlign, and just can't be solved in a way that isn't way more trouble than it is worth.
It is currently April 26th, 2024, 12:46 pm
[BUG]Terminating spaces are ignored when width is calculated in string meter
-
- Developer
- Posts: 22630
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: [BUG]Terminating spaces are ignored when width is calculated in string meter
-
- Developer
- Posts: 2684
- Joined: November 24th, 2011, 1:42 am
- Location: Utah
Re: [BUG]Terminating spaces are ignored when width is calculated in string meter
Just to elaborate on this. D2D (really it is DirectWrite) allows for the correct calculation of text with trailing whitespace. However when rendering the text layout, there is no option (that I could find) that will correctly "position" the text when using centered or right justified text - even though left alignment worked just fine.
-Brian
-Brian
-
- Rainmeter Sage
- Posts: 1399
- Joined: April 24th, 2021, 8:13 pm
Re: [BUG]Terminating spaces are ignored when width is calculated in string meter
Ahh, it's fine. No worries.
Thank you for taking your time to try.
Thank you for taking your time to try.
from the Realm of Death