[SOLVED] How to overlap images with resizing in a broken layout qframe
-
Hi
Well im not 100% sure how you setup the inner box.
if you want frameAnimalConatiner to be bigger, you could set its MinimumWidth or height and
spacers will follow that.Are you planning on animation later on ?
-
Perfect! You are right, I don't know why it wasn't working but it works now.
Thank you so much.
P.D: No, the images are going to be static.
Cheers.
-
@xyz0k
Super!
well layouts are funky. And smart.Ok. Since you just did not take an image program and made
one new picture with all in it, I assume you
going to use different images overlaid ? -
When a picture file that I bring in from Windows is imported into qt, it breaks. What should I do?
-
@sohyun
breaks in what way?
Can you upload the picture to postimage.org and post link here ? -
@mrjj ![alt text](image url)
left thing is on window, right thing is qt in Linux.
I can't handle it. -
Hmm. that is odd.
Do you load the same image file on both platforms?
What is the format ? (jpg,png) etc.Can you upload the original image so i can try in my linux box?
Maybe a support SO has issues on your box or something like that. -
This post is deleted! -
@sohyun
Hi
I tried in Qt 5.7 on Mint/ubuntu linux and it was shown as
expected. ( not broken)I put the image in res file and showed it on a label.
Do yo use QImage or how do you show it ?
-
@mrjj oops, I had a mistake. Widget form has a dot. so it seems to have appeared.
if it occurs again, I will ask something someday. :)
thank your helping :)
Have a nice day! -
oh, so it was not the image that was broken?
super
Nice day to you too