]> git.sesse.net Git - kdenlive/blobdiff - src/keyframeedit.cpp
Improve visual appearance of effect parameter comments:
[kdenlive] / src / keyframeedit.cpp
index 0af0c71afe8b0b2e4dc4ca09dfb0789a9b4f7227..a93bbfc70bffcc1fe0ae2ef30c329945e847d547 100644 (file)
@@ -123,7 +123,12 @@ void KeyframeEdit::addParameter(QDomElement e, int activeKeyframe)
     m_showButtons->addButton(radio, columnId);
     if (e.attribute("intimeline") == "1")
         radio->setChecked(true);
-    m_slidersLayout->addWidget(radio, columnId, 1);
+
+    // make the radiobutton stay at the top
+    QVBoxLayout *radioLayout = new QVBoxLayout(this);
+    radioLayout->addWidget(radio);
+    radioLayout->addStretch();
+    m_slidersLayout->addLayout(radioLayout, columnId, 1);
 
     QStringList frames = e.attribute("keyframes").split(";", QString::SkipEmptyParts);
     for (int i = 0; i < frames.count(); i++) {