]> git.sesse.net Git - kdenlive/commitdiff
Some ui cleanup
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 25 Jul 2009 12:10:09 +0000 (12:10 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sat, 25 Jul 2009 12:10:09 +0000 (12:10 +0000)
svn path=/trunk/kdenlive/; revision=3767

src/titlewidget.cpp

index c0f80fae1521334d60875b5119abca5607a65217..04209c090bfb323f678c293070a4a64dc5f4285a 100644 (file)
@@ -58,9 +58,13 @@ TitleWidget::TitleWidget(KUrl url, QString projectTitlePath, Render *render, QWi
     //toolBox->setFont(KGlobalSettings::toolBarFont());
     frame_properties->setEnabled(false);
     rect_properties->setFixedHeight(frame_properties->height() + 4);
+    no_properties->setFixedHeight(frame_properties->height() + 4);
+    image_properties->setFixedHeight(frame_properties->height() + 4);
     text_properties->setFixedHeight(frame_properties->height() + 4);
+    frame_properties->setFixedHeight(frame_toolbar->height());
     m_frameWidth = render->renderWidth();
     m_frameHeight = render->renderHeight();
+    showToolbars(TITLE_NONE);
 
     connect(kcolorbutton, SIGNAL(clicked()), this, SLOT(slotChangeBackground())) ;
     connect(horizontalSlider, SIGNAL(valueChanged(int)), this, SLOT(slotChangeBackground())) ;
@@ -266,8 +270,6 @@ TitleWidget::TitleWidget(KUrl url, QString projectTitlePath, Render *render, QWi
     } else {
         slotTextTool();
     }
-
-    showToolbars(TITLE_NONE);
 }
 
 TitleWidget::~TitleWidget()