aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <[email protected]>2015-04-06 23:18:22 +0200
committerJean-Baptiste Mardelle <[email protected]>2015-04-06 23:18:22 +0200
commit3031e1883baece687f291f45060d14b80b553d52 (patch)
treec74d09e85efd33117e499e475ab885233fd0b552
parentf020493d04b315b79cae3d46f3ce9ffa0cff9768 (diff)
Fix font size of keyframes effect widget
-rw-r--r--src/effectstack/keyframeedit.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/effectstack/keyframeedit.cpp b/src/effectstack/keyframeedit.cpp
index 9f28313..a294efc 100644
--- a/src/effectstack/keyframeedit.cpp
+++ b/src/effectstack/keyframeedit.cpp
@@ -36,6 +36,7 @@ KeyframeEdit::KeyframeEdit(const QDomElement &e, int minFrame, int maxFrame, con
// special case: keyframe for tracks, do not allow keyframes
widgetTable->setHidden(true);
}
+ setFont(QFontDatabase::systemFont(QFontDatabase::SmallestReadableFont));
keyframe_list->setFont(QFontDatabase::systemFont(QFontDatabase::SmallestReadableFont));
buttonSeek->setChecked(KdenliveSettings::keyframeseek());
connect(buttonSeek, SIGNAL(toggled(bool)), this, SLOT(slotSetSeeking(bool)));
@@ -154,6 +155,8 @@ void KeyframeEdit::addParameter(const QDomElement &e, int activeKeyframe)
}
keyframe_list->resizeColumnsToContents();
keyframe_list->blockSignals(false);
+ keyframe_list->horizontalHeader()->setFont(QFontDatabase::systemFont(QFontDatabase::SmallestReadableFont));
+ keyframe_list->verticalHeader()->setFont(QFontDatabase::systemFont(QFontDatabase::SmallestReadableFont));
slotAdjustKeyframeInfo(false);
button_delete->setEnabled(keyframe_list->rowCount() > 1);
}