Hello,

I seem to be getting an unwanted white border between my background image and my widget windowframe.

I have tried different methods of setting the background, Stylesheet, palette etc but with no success

When i have used the background image before, it has fit perfectly without problem - but with the white border, the text and buttons are out of place in the theme.

My widget size is the same as the size of my background image, i have tried changing that with no success.

I am using:

Qt Code:
  1.  
  2. Appsize(1200,650);
  3.  
  4.  
  5. this -> resize(Appsize);
  6. this -> setFixedSize(Appsize);
To copy to clipboard, switch view to plain text mode 


instead of

Qt Code:
  1. MyWidget -> resize(Appsize);
  2. MyWidget -> setFixedSize(Appsize);
To copy to clipboard, switch view to plain text mode 

I dont suppose that this could effect it? I am using 'this' because when I use 'MyWidget' the widget is opened at the bottom right corner of my screen (Is there any way of making it open in the center as it does when I use 'this' - and why is it different?)

Thanks in advance, i really appreciate the help!