Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 482

Image Scaling anomaly?

$
0
0
G'day!

I built myself a Image Gallery widget; the image container only has width constraint, so the image can take any depth (height) as required as per its aspect ratio; using the Quote plugin to cycle through the image folder.

What I recently noticed is that the image's height was being constrained by the height of the previous image; effectively being cropped at the bottom of the image. Eventually, the whole slideshow will be constrained the height size of the smallest image in the folder.

I noticed this when I moused over the Gallery where I have an event to display the current image's filename which included a Redraw Bang, resulting in the previously cropped portion of the image suddenly reappearing.

Could this be a bug in Rainmeter? 🤔

Anyway, the addition of;

Code:

OnUpdateAction=[!UpdateMeter GalleryDisplay][!Redraw]
in the Measure seems to have rectified it.

😂 Putting this code in the Meter, I quickly discovered, was a quick way to crash Rainmeter, which in hindsight, made sense…

So, I just wonder if the image scaling is a bug in Rainmeter?

Statistics: Posted by DavidRGreen — Yesterday, 11:22 pm — Replies 0 — Views 19



Viewing all articles
Browse latest Browse all 482

Trending Articles