Draw the border around the handles
Otherwise they are difficult to see when the partition takes all the space
This commit is contained in:
parent
40f579a811
commit
a9cd6ae885
|
@ -185,7 +185,6 @@ void PartResizerWidget::paintEvent(QPaintEvent*)
|
||||||
opt.midLineWidth = 0;
|
opt.midLineWidth = 0;
|
||||||
opt.state |= QStyle::State_Sunken;
|
opt.state |= QStyle::State_Sunken;
|
||||||
|
|
||||||
opt.rect.adjust(handleWidth(), 0, -handleWidth(), 0);
|
|
||||||
style()->drawPrimitive(QStyle::PE_PanelLineEdit, &opt, &painter, this);
|
style()->drawPrimitive(QStyle::PE_PanelLineEdit, &opt, &painter, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue