mirror of
https://github.com/RolandWH/SIPPCompare.git
synced 2025-05-10 08:41:49 +01:00
fix weird spacing bug
This commit is contained in:
parent
3b6b75ee48
commit
71d9590205
@ -10,7 +10,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>630</width>
|
<width>630</width>
|
||||||
<height>567</height>
|
<height>580</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
@ -19,22 +19,16 @@
|
|||||||
<height>567</height>
|
<height>567</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>630</width>
|
|
||||||
<height>567</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Platform Editor</string>
|
<string>Platform Editor</string>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="gridLayoutWidget">
|
<widget class="QWidget" name="gridLayoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>10</x>
|
<x>13</x>
|
||||||
<y>20</y>
|
<y>20</y>
|
||||||
<width>611</width>
|
<width>616</width>
|
||||||
<height>241</height>
|
<height>242</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
@ -54,10 +48,16 @@
|
|||||||
<number>10</number>
|
<number>10</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="verticalSpacing">
|
<property name="verticalSpacing">
|
||||||
<number>5</number>
|
<number>6</number>
|
||||||
</property>
|
</property>
|
||||||
<item row="0" column="3">
|
<item row="0" column="3">
|
||||||
<widget class="QCheckBox" name="plat_name_check">
|
<widget class="QCheckBox" name="plat_name_check">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string> </string>
|
||||||
|
</property>
|
||||||
<property name="checked">
|
<property name="checked">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
@ -336,7 +336,7 @@
|
|||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>482</x>
|
<x>482</x>
|
||||||
<y>534</y>
|
<y>545</y>
|
||||||
<width>141</width>
|
<width>141</width>
|
||||||
<height>24</height>
|
<height>24</height>
|
||||||
</rect>
|
</rect>
|
||||||
@ -354,7 +354,7 @@
|
|||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>8</x>
|
<x>8</x>
|
||||||
<y>540</y>
|
<y>549</y>
|
||||||
<width>191</width>
|
<width>191</width>
|
||||||
<height>21</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
@ -366,7 +366,7 @@
|
|||||||
<widget class="QLabel" name="active_lab">
|
<widget class="QLabel" name="active_lab">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>577</x>
|
<x>572</x>
|
||||||
<y>10</y>
|
<y>10</y>
|
||||||
<width>61</width>
|
<width>61</width>
|
||||||
<height>16</height>
|
<height>16</height>
|
||||||
@ -382,16 +382,28 @@
|
|||||||
<widget class="QWidget" name="gridLayoutWidget_2">
|
<widget class="QWidget" name="gridLayoutWidget_2">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>11</x>
|
<x>19</x>
|
||||||
<y>309</y>
|
<y>307</y>
|
||||||
<width>611</width>
|
<width>591</width>
|
||||||
<height>31</height>
|
<height>40</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_2">
|
<layout class="QGridLayout" name="gridLayout_2">
|
||||||
<property name="verticalSpacing">
|
<property name="leftMargin">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="spacing">
|
||||||
|
<number>6</number>
|
||||||
|
</property>
|
||||||
<item row="0" column="3">
|
<item row="0" column="3">
|
||||||
<widget class="FastEditQDoubleSpinBox" name="first_tier_fee_box">
|
<widget class="FastEditQDoubleSpinBox" name="first_tier_fee_box">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
@ -467,7 +479,7 @@
|
|||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>532</x>
|
<x>532</x>
|
||||||
<y>481</y>
|
<y>487</y>
|
||||||
<width>91</width>
|
<width>91</width>
|
||||||
<height>24</height>
|
<height>24</height>
|
||||||
</rect>
|
</rect>
|
||||||
@ -488,7 +500,7 @@
|
|||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>440</x>
|
<x>440</x>
|
||||||
<y>481</y>
|
<y>487</y>
|
||||||
<width>91</width>
|
<width>91</width>
|
||||||
<height>24</height>
|
<height>24</height>
|
||||||
</rect>
|
</rect>
|
||||||
@ -505,8 +517,8 @@
|
|||||||
<widget class="QLabel" name="val_above_lab">
|
<widget class="QLabel" name="val_above_lab">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>6</x>
|
<x>10</x>
|
||||||
<y>479</y>
|
<y>486</y>
|
||||||
<width>421</width>
|
<width>421</width>
|
||||||
<height>21</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
@ -520,11 +532,11 @@
|
|||||||
<string>on the value above £ there is no charge</string>
|
<string>on the value above £ there is no charge</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="fund_plat_fee_lab">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>10</x>
|
<x>10</x>
|
||||||
<y>284</y>
|
<y>285</y>
|
||||||
<width>151</width>
|
<width>151</width>
|
||||||
<height>16</height>
|
<height>16</height>
|
||||||
</rect>
|
</rect>
|
||||||
|
@ -299,7 +299,7 @@ class PlatformEdit(QWidget):
|
|||||||
grid_height = int(round(28.5 * self.fund_fee_rows))
|
grid_height = int(round(28.5 * self.fund_fee_rows))
|
||||||
else:
|
else:
|
||||||
grid_height = int(round(28.5 * (self.fund_fee_rows + 1)))
|
grid_height = int(round(28.5 * (self.fund_fee_rows + 1)))
|
||||||
self.gridLayoutWidget_2.setGeometry(QRect(11, 309, 611, grid_height))
|
self.gridLayoutWidget_2.setGeometry(QRect(19, 307, 591, grid_height))
|
||||||
for i in range(len(widgets)):
|
for i in range(len(widgets)):
|
||||||
if loading:
|
if loading:
|
||||||
self.gridLayout_2.addWidget(widgets[i], x + 1, i, 1, 1)
|
self.gridLayout_2.addWidget(widgets[i], x + 1, i, 1, 1)
|
||||||
@ -337,7 +337,7 @@ class PlatformEdit(QWidget):
|
|||||||
widget.hide()
|
widget.hide()
|
||||||
self.widgets_list_list.pop()
|
self.widgets_list_list.pop()
|
||||||
self.fund_fee_rows -= 1
|
self.fund_fee_rows -= 1
|
||||||
self.gridLayoutWidget_2.setGeometry(11, 309, 611, int(round(28.5 * self.fund_fee_rows, 0)))
|
self.gridLayoutWidget_2.setGeometry(19, 307, 591, int(round(28.5 * self.fund_fee_rows, 0)))
|
||||||
|
|
||||||
if self.fund_fee_rows < 2:
|
if self.fund_fee_rows < 2:
|
||||||
self.del_row_but.setEnabled(False)
|
self.del_row_but.setEnabled(False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user