I Added some QLabels with different colors to A QGridLayout as Layout of a QWidget, now I have a spacing between each Qlabel to the next and I want to remove it. I tried to set the margin of the Labels to "0" and the Alignment of the GridLayout to "0" but it didnt worked very good. i thought the space is maybe the border of the Labels but i checked. do you have any idea?