I have a frame in qt qith some components in it. When I change the stylesheet the components in it also change, but i don’t want this, as i’m changing only the border of the frame.
border-width: 1px;
border-style: inset;
border-color: #515c84
border-radius: 9px;
Also the border gets two colors and i don’t know why.
Can anyone help me please?
The children widgets inherit the parent frame stylesheet. If you want to change the view of the frame only, use this stylesheet:
Where
frameObjectNameis the name of the frame.The border gets two colors, because it’s
insetstyle. Usesolidborder style to get one color border line.