From ef15d60d74f244aba3dc49a284e28b484eb1d9c9 Mon Sep 17 00:00:00 2001
From: Kai Koehne <kai.koehne@nokia.com>
Date: Tue, 11 Oct 2011 12:46:07 +0200
Subject: [PATCH] Debugger: Re-layout "Attach to QML Port" dialog

Use colons after labels. Also, resize the input fields.

Change-Id: I1fee71ea00b61a772430f91d227076d63de2cae4
Reviewed-on: http://codereview.qt-project.org/6438
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
---
 src/plugins/debugger/attachtoqmlportdialog.ui | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/plugins/debugger/attachtoqmlportdialog.ui b/src/plugins/debugger/attachtoqmlportdialog.ui
index 2a88bff1e49..45feeb73ef0 100644
--- a/src/plugins/debugger/attachtoqmlportdialog.ui
+++ b/src/plugins/debugger/attachtoqmlportdialog.ui
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>435</width>
-    <height>133</height>
+    <width>185</width>
+    <height>115</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -17,12 +17,12 @@
    <item>
     <layout class="QFormLayout" name="formLayout">
      <property name="fieldGrowthPolicy">
-      <enum>QFormLayout::FieldsStayAtSizeHint</enum>
+      <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
      </property>
      <item row="0" column="0">
       <widget class="QLabel" name="hostLabel">
        <property name="text">
-        <string>Host</string>
+        <string>&amp;Host:</string>
        </property>
        <property name="buddy">
         <cstring>hostLineEdit</cstring>
@@ -39,7 +39,10 @@
      <item row="1" column="0">
       <widget class="QLabel" name="portLabel">
        <property name="text">
-        <string>Port</string>
+        <string>&amp;Port:</string>
+       </property>
+       <property name="buddy">
+        <cstring>portSpinBox</cstring>
        </property>
       </widget>
      </item>
-- 
GitLab