minor UI fixes
authorkirilma <kirilma@localhost>
Fri, 23 Apr 2010 05:45:10 +0000 (05:45 +0000)
committerkirilma <kirilma@localhost>
Fri, 23 Apr 2010 05:45:10 +0000 (05:45 +0000)
fix size of UrlInputDialog
restore [remove] button at the same button as [add]

src/gui/conferenceeditor.cpp
src/gui/urlinputdialog.ui

index 936f541..8e89d36 100644 (file)
@@ -187,6 +187,10 @@ void ConferenceEditor::importFinished(const QString& title)
 {
     qDebug() << __PRETTY_FUNCTION__ << title;
     addBtn->show();
+    // removeItem should be shown later, but it takes some time,
+    // and not looks good
+    // anyway it will be shown a bit later
+    removeBtn->show();
     buttons->layout()->addItem(buttonsSpacer);
     progressBar->hide();
 
index c0bd2d5..54648e3 100644 (file)
@@ -2,13 +2,11 @@
 <ui version="4.0">
  <class>UrlInputDialog</class>
  <widget class="QDialog" name="UrlInputDialog">
-  <property name="geometry">
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>400</width>
-    <height>300</height>
-   </rect>
+  <property name="sizePolicy">
+   <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
+    <horstretch>0</horstretch>
+    <verstretch>0</verstretch>
+   </sizepolicy>
   </property>
   <property name="windowTitle">
    <string>URL Input</string>