It is currently May 25th, 2019, 2:14 pm

ClipString ellipsis not scaling with the InlineSetting size option.

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

ClipString ellipsis not scaling with the InlineSetting size option.

JelleDekkers » April 21st, 2019, 9:26 am

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: 8208
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

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

balala » April 21st, 2019, 10:17 am

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: 19245
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

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

jsmorley » April 21st, 2019, 11:18 am

User avatar
JelleDekkers
Posts: 16
Joined: September 27th, 2017, 6:32 pm

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

JelleDekkers » April 21st, 2019, 11:59 am

Ah, gotcha.