OSDN Git Service

Git: Shrink down remote dialog
authorTobias Hunger <tobias.hunger@nokia.com>
Tue, 7 Jun 2011 08:33:28 +0000 (10:33 +0200)
committerTobias Hunger <tobias.hunger@nokia.com>
Tue, 7 Jun 2011 14:22:28 +0000 (16:22 +0200)
Task-number: QTCREATORBUG-5036
Change-Id: I9fc973acfb73c5da0489073a2130f5738656670d
Reviewed-on: http://codereview.qt.nokia.com/356
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
src/plugins/git/remotedialog.cpp
src/plugins/git/remotedialog.ui

index b666abd..1c38830 100644 (file)
@@ -94,7 +94,6 @@ RemoteDialog::RemoteDialog(QWidget *parent) :
     m_ui->setupUi(this);
 
     m_ui->remoteView->setModel(m_remoteModel);
-    m_ui->remoteView->setMinimumHeight(400);
     m_ui->remoteView->horizontalHeader()->setStretchLastSection(true);
     m_ui->remoteView->horizontalHeader()->setResizeMode(0, QHeaderView::ResizeToContents);
     QFontMetrics fm(font());
index bb52f12..deff9e6 100644 (file)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>514</width>
-    <height>527</height>
+    <width>507</width>
+    <height>329</height>
    </rect>
   </property>
   <property name="windowTitle">
       </property>
       <item>
        <widget class="QTableView" name="remoteView">
+        <property name="minimumSize">
+         <size>
+          <width>0</width>
+          <height>100</height>
+         </size>
+        </property>
         <property name="editTriggers">
          <set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed</set>
         </property>