make breaks and spacer bigger

This commit is contained in:
lasconic 2013-05-15 14:37:24 +02:00 committed by ws
parent f91b8b9768
commit dd30824745
2 changed files with 4 additions and 4 deletions

View file

@ -27,7 +27,7 @@ LayoutBreak::LayoutBreak(Score* score)
_pause = score->styleD(ST_SectionPause);
_startWithLongNames = true;
_startWithMeasureOne = true;
lw = spatium() * 0.2;
lw = spatium() * 0.3;
setFlag(ELEMENT_HAS_TAG, true);
}
@ -111,8 +111,8 @@ void LayoutBreak::layout0()
qreal _spatium = spatium();
path = QPainterPath();
path2 = QPainterPath();
qreal h = _spatium * 2.0;
qreal w = _spatium * 2.0;
qreal h = _spatium * 3.0;
qreal w = _spatium * 3.0;
QRectF rect(0.0, 0.0, w, h);
path.addRect(rect);

View file

@ -44,7 +44,7 @@ void Spacer::draw(QPainter* painter) const
if (score()->printing() || !score()->showUnprintable())
return;
QPen pen(selected() ? MScore::selectColor[0] : MScore::layoutBreakColor,
spatium() * 0.2);
spatium() * 0.3);
painter->setPen(pen);
painter->setBrush(Qt::NoBrush);
painter->drawPath(path);