Commit 6753de2a authored by Fabian Vogt's avatar Fabian Vogt
Browse files

Revert "Draw frame outline at the outer edge, not a pixel further inside"

This reverts commit 7e678c34 and the followup.
While those two combined are consistent, it leads to a worse apperance in
places where the 1px margin between frame and rect was expected.
parent 7f18a88c
......@@ -520,7 +520,7 @@ namespace Breeze
painter->setRenderHint( QPainter::Antialiasing );
QRectF frameRect( rect );
QRectF frameRect( rect.adjusted( 1, 1, -1, -1 ) );
qreal radius( frameRadius( PenWidth::NoPen, -1 ) );
// set pen
......
......@@ -35,7 +35,7 @@ namespace Breeze
struct Metrics
{
// frames
static constexpr int Frame_FrameWidth = 1;
static constexpr int Frame_FrameWidth = 2;
static constexpr int Frame_FrameRadius = 3;
// layout
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment