It is currently April 18th, 2024, 3:46 am

ClipString ellipsis not scaling with the InlineSetting size option.

Report bugs with the Rainmeter application and suggest features.
User avatar
JelleDekkers
Posts: 127
Joined: September 27th, 2017, 6:32 pm
Location: Netherlands

ClipString ellipsis not scaling with the InlineSetting size option.

Post by JelleDekkers »

I noticed this little bug while testing my WIP skin.

When using the InlineSetting size option, like this

Code: Select all

InlineSetting3=Size | (#Scale#*20*0.75)
and I set the Scale variable to "1" (so there's no scaling being done yet), the result is the following:

Image

This works just as expected.

When I set the Scale variable to "4", things start to break.

Image

As you can see, the ellipsis don't scale with the text. Let's take a look at the same meter when using the FontSize option.

Image

As you can see, this works properly.

UPDATE: Using the InlineSetting face option also seems to ignore the desired font for the ellipsis. It works fine when using the FontFace option.
Last edited by JelleDekkers on April 21st, 2019, 11:59 am, edited 1 time in total.
User avatar
balala
Rainmeter Sage
Posts: 16143
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: ClipString ellipsis not scaling with the InlineSetting size option.

Post by balala »

Are you sure there is a valid InlinePattern3 option on the meter? Because if there isn't, the InlineSetting3 is applied to the whole meter.
To can check, please post a code of the meter.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: ClipString ellipsis not scaling with the InlineSetting size option.

Post by jsmorley »

User avatar
JelleDekkers
Posts: 127
Joined: September 27th, 2017, 6:32 pm
Location: Netherlands

Re: ClipString ellipsis not scaling with the InlineSetting size option.

Post by JelleDekkers »

Ah, gotcha.