forked from qt-creator/qt-creator
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:
@@ -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 @@
|
|||||||
<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 @@
|
|||||||
</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>
|
||||||
|
|||||||
Reference in New Issue
Block a user