Commit 237c4690 authored by L. E. Segovia's avatar L. E. Segovia

Spacing: fix CCurveScene not resizing above 640 pixels wide

parent 4c3d11a1
......@@ -266,10 +266,14 @@ QByteArray CCurveScene::getCPixmap() {
void CCurveScene::drawRect() {
if (_baseRectW == 0) {
_baseRectW = new ExprCBoxWidget(this);
// Disable the obtrusive grey background.
// It's noticeable with the sunken border of the CCurve. -amyspark
_baseRectW->setStyleSheet("background-color: transparent;");
}
if (_baseRect == 0) {
_baseRect = addWidget(_baseRectW);
}
_baseRectW->setMinimumWidth(_width);
_baseRect->widget()->update();
_baseRect->setZValue(0);
}
......
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