Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 2 Support (Qt 5) › ParallaxScrollingBackground behavior on image switching

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18319

    Marcin

    Hi Felgo,

    Was playing a little with parallax background and observed some behavior which I want to confirm.
    Probably this is not a bug just there was no need to do anything more.

    The story:
    1. Set parallax background imageSource to image 500×500

    2. Parallax internal image property is set and width and height as well are calculated.

    3. Change dynamically imageSource to image 300×300

    4. Result: image is replaced but width/height and internal image property alias still keep old value of the first image source.
    5. What that means is that the new image is not properly anchored/positioned in the background. It behaves like it’s dimensions were of original image.

    Is this expected behavior?

    #18342

    Alex
    Felgo Team

    Hi,

    you just found a bug in the MultiResolutionImage component (used inside the ParallaxScrollingBackground), if switching to a different sized image at runtime. That’s a free beer on the house!

    We’ll investigate this closer right away, thanks for reporting!

    Cheers,
    Alex

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded