Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

ellenblackwell
New Contributor III

Text and background image do not resize together

When I resize my Sense Desktop window, the background image and related text (which are contained in a single Text & Images object) separate. It looks like the background image and text in the object are being treating as two separate items. Any idea how I can solve this?  Thanks! Ellen

Text & Images object in full-screen viewSame, single object when I resize for evaluating mobile view
Stat_object_normal.PNG.pngStat_object_resized.PNG.png
7 Replies
Highlighted
Employee
Employee

Re: Text and background image do not resize together

I think if you force the background image to always 'stretch to fit', there will always be a part of the image behind the text

Untitled.png

ellenblackwell
New Contributor III

Re: Text and background image do not resize together

Actually, those are the settings I'm using. Image and text still become separated on the vertical axis.

Employee
Employee

Re: Re: Text and background image do not resize together

Tried to reproduce but could not...  This was done on 1.0.1 in case you are on an older version.

Attached is the image i tried.  If you find this works differently, i'd be interested in testing your image that shows this issue.

Capture.PNG.png

ellenblackwell
New Contributor III

Re: Text and background image do not resize together

Thank you. I believe the issue occurred because I was using an svg image. Let me know if you experience the same with an svg.

Employee
Employee

Re: Text and background image do not resize together

Ok i see it.  SVG images don't actually 'stretch' whereas other images do. Without stretching, depending on the shape of the image, white gaps appear as the width or height becomes relatively smaller.

I'll submit it to support to see what happens.

Can you convert the SVG to another format to get you moving ?

MVP
MVP

Re: Text and background image do not resize together

Hi

It looks like the SVG image remains centred but the text is top aligned. If you change the vertical alignment of the text to Centred, they may remain in alignment as you stretch.

HTH

Jonathan

Employee
Employee

Re: Text and background image do not resize together

I have heard more...

Currently, Qlik Sense does NOT support SVG images for background images.  We may see support in the future.  This is the reason for this behaviour.

Community Browser