Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

serve, webconf: fix form layout on Mac

Changeset 522c86e64fb8

Parent 4981af768246

by Yuya Nishihara

Changes to 2 files · Browse files at 522c86e64fb8 Showing diff from parent 4981af768246 Diff from another changeset...

 
19
20
21
22
 
23
24
25
 
56
57
58
 
 
 
 
 
 
59
60
61
 
19
20
21
 
22
23
24
25
 
56
57
58
59
60
61
62
63
64
65
66
67
@@ -19,7 +19,7 @@
  <item>   <layout class="QFormLayout" name="opts_layout">   <property name="fieldGrowthPolicy"> - <enum>QFormLayout::FieldsStayAtSizeHint</enum> + <enum>QFormLayout::ExpandingFieldsGrow</enum>   </property>   <item row="0" column="0">   <widget class="QLabel" name="port_label"> @@ -56,6 +56,12 @@
  </item>   <item row="1" column="1">   <widget class="QLabel" name="status_edit"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property>   <property name="text">   <string/>   </property>
 
173
174
175
176
 
177
178
179
 
173
174
175
 
176
177
178
179
@@ -173,7 +173,7 @@
  self.resize(QFontMetrics(self.font()).width('M') * 50, self.height())   self.setWindowTitle(title)   self._invalidpaths = set(invalidpaths or []) - self.setLayout(QFormLayout()) + self.setLayout(QFormLayout(fieldGrowthPolicy=QFormLayout.ExpandingFieldsGrow))   self._initfields()   self._initbuttons(acceptlabel)   self._path_edit.setText(path or os.path.basename(localpath or ''))