Skip to content
Snippets Groups Projects
Commit 01463e9b authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Git: Shrink down remote dialog

Task-number: QTCREATORBUG-5036
Change-Id: I9fc973acfb73c5da0489073a2130f5738656670d
Reviewed-on: http://codereview.qt.nokia.com/356


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarRobert Löhning <robert.loehning@nokia.com>
parent 499a49b6
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,6 @@ RemoteDialog::RemoteDialog(QWidget *parent) : ...@@ -94,7 +94,6 @@ RemoteDialog::RemoteDialog(QWidget *parent) :
m_ui->setupUi(this); m_ui->setupUi(this);
m_ui->remoteView->setModel(m_remoteModel); m_ui->remoteView->setModel(m_remoteModel);
m_ui->remoteView->setMinimumHeight(400);
m_ui->remoteView->horizontalHeader()->setStretchLastSection(true); m_ui->remoteView->horizontalHeader()->setStretchLastSection(true);
m_ui->remoteView->horizontalHeader()->setResizeMode(0, QHeaderView::ResizeToContents); m_ui->remoteView->horizontalHeader()->setResizeMode(0, QHeaderView::ResizeToContents);
QFontMetrics fm(font()); QFontMetrics fm(font());
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>514</width> <width>507</width>
<height>527</height> <height>329</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
...@@ -63,6 +63,12 @@ ...@@ -63,6 +63,12 @@
</property> </property>
<item> <item>
<widget class="QTableView" name="remoteView"> <widget class="QTableView" name="remoteView">
<property name="minimumSize">
<size>
<width>0</width>
<height>100</height>
</size>
</property>
<property name="editTriggers"> <property name="editTriggers">
<set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed</set> <set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed</set>
</property> </property>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment