Git: Shrink down remote dialog

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>
This commit is contained in:
Tobias Hunger
2011-06-07 10:33:28 +02:00
parent 499a49b686
commit 01463e9bdf
2 changed files with 8 additions and 3 deletions

View 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());

View 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">
@@ -63,6 +63,12 @@
</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>