]> git.sesse.net Git - kdenlive/commitdiff
Use smaller font for GUI, looks much better I think
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 23 Mar 2008 22:35:27 +0000 (22:35 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 23 Mar 2008 22:35:27 +0000 (22:35 +0000)
svn path=/branches/KDE4/; revision=2106

src/clipproperties.cpp
src/mainwindow.cpp

index 1938df1f7a93bbb6b3d0369610fbf5f91aa6bd56..10227527b173e9106df53996c72fe0404c4f50ea 100644 (file)
@@ -28,6 +28,7 @@
 #include "kthumb.h"
 
 ClipProperties::ClipProperties(DocClipBase *clip, Timecode tc, double fps, QWidget * parent): QDialog(parent), m_tc(tc), m_clip(clip), m_fps(fps) {
+    setFont(KGlobalSettings::toolBarFont());
     m_view.setupUi(this);
     KUrl url = m_clip->fileURL();
     m_view.clip_path->setText(url.path());
@@ -64,6 +65,7 @@ ClipProperties::ClipProperties(DocClipBase *clip, Timecode tc, double fps, QWidg
     KFileItem f(KFileItem::Unknown, KFileItem::Unknown, url, true);
     m_view.clip_filesize->setText(KIO::convertSize(f.size()));
     m_view.clip_duration->setText(tc.getTimecode(m_clip->duration(), m_fps));
+    adjustSize();
 }
 
 #include "clipproperties.moc"
index 1bea50b7f68a7c13a912ec83e6d294e66e1b228a..9301dd634b06c31745ff364c6cd75aed25617813 100644 (file)
@@ -84,7 +84,7 @@ MainWindow::MainWindow(QWidget *parent)
         : KXmlGuiWindow(parent),
         m_activeDocument(NULL), m_activeTimeline(NULL), m_renderWidget(NULL), m_jogProcess(NULL) {
     parseProfiles();
-
+    setFont(KGlobalSettings::toolBarFont());
     m_commandStack = new QUndoGroup;
     m_timelineArea = new KTabWidget(this);
     m_timelineArea->setTabReorderingEnabled(true);