QFrame border has differend line width but frameShadow is plain
-
Every
QFramehas next parameters:frameShadow=PlainframeShape=BoxlineWidth=1midLineWidth=0
When I run app line width is different from each other.
Let's look at left line of bottom frame. Line is exist but real width = 0 pixels (
lineWidth= 1). Other lines has 1 pixel width. This is easy to verify if increaselineWidthto 2.Left line has width one pixel smaller then others.
Why?
-
Every
QFramehas next parameters:frameShadow=PlainframeShape=BoxlineWidth=1midLineWidth=0
When I run app line width is different from each other.
Let's look at left line of bottom frame. Line is exist but real width = 0 pixels (
lineWidth= 1). Other lines has 1 pixel width. This is easy to verify if increaselineWidthto 2.Left line has width one pixel smaller then others.
Why?
@Vasiliy-Isaikin said in QFrame border has differend line width but frameShadow is plain:
Why?
It looks like you're not using layouts?
You should arrange your widgets in layouts, so they get sized and positioned properly.


