mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Enable border-less areas
This commit is contained in:
parent
54d0eea43e
commit
d5367ccf34
@ -77,7 +77,7 @@ void AreaItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
|
||||
Q_UNUSED(option);
|
||||
Q_UNUSED(widget);
|
||||
|
||||
painter->setPen(_pen);
|
||||
painter->setPen(_width ? _pen : QPen(Qt::NoPen));
|
||||
painter->drawPath(_painterPath);
|
||||
painter->fillPath(_painterPath, _brush);
|
||||
|
||||
|
@ -130,7 +130,7 @@ QWidget *OptionsDialog::createAppearancePage()
|
||||
// Areas
|
||||
_areaWidth = new QSpinBox();
|
||||
_areaWidth->setValue(_options->areaWidth);
|
||||
_areaWidth->setMinimum(1);
|
||||
//_areaWidth->setMinimum(1);
|
||||
_areaStyle = new StyleComboBox();
|
||||
_areaStyle->setValue(_options->areaStyle);
|
||||
_areaOpacity = new PercentSlider();
|
||||
|
Loading…
Reference in New Issue
Block a user