diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-10 07:51:19 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-10 07:51:19 +0000 |
commit | d225bb1f574a68a56b96fa33ebb33dcbc009383b (patch) | |
tree | b119bf122e02d5d3dbcde8813d3da36d947ca6a7 /muse2/muse/ctrl/ctrledit.cpp | |
parent | 39d911b43a335ceeb8f87556de0bd2ef3418f937 (diff) |
Fixed ctrl canvas not lining up with pianoroll and drumedit.
Diffstat (limited to 'muse2/muse/ctrl/ctrledit.cpp')
-rw-r--r-- | muse2/muse/ctrl/ctrledit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/muse2/muse/ctrl/ctrledit.cpp b/muse2/muse/ctrl/ctrledit.cpp index f55fe8ef..fe04844d 100644 --- a/muse2/muse/ctrl/ctrledit.cpp +++ b/muse2/muse/ctrl/ctrledit.cpp @@ -42,6 +42,9 @@ CtrlEdit::CtrlEdit(QWidget* parent, MidiEditor* e, int xmag, canvas = new CtrlCanvas(e, 0, xmag, "ctrlcanvas", panel); QWidget* vscale = new VScale; + hbox->setContentsMargins(0, 0, 0, 0); + hbox->setSpacing (0); + canvas->setOrigin(-(config.division/4), 0); canvas->setMinimumHeight(50); |