Skip to content

Commit

Permalink
Rework layout
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 26, 2019
1 parent 322eb31 commit 664517a
Showing 1 changed file with 31 additions and 50 deletions.
81 changes: 31 additions & 50 deletions src/ui/labeling/qgslabelengineconfigdialog.ui
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QgsLabelEngineConfigDialog</class>
<widget class="QgsPanelWidget" name="QgsLabelEngineConfigDialog">
<class>QgsLabelEngineConfigWidgetBase</class>
<widget class="QgsPanelWidget" name="QgsLabelEngineConfigWidgetBase">
<property name="geometry">
<rect>
<x>0</x>
Expand All @@ -16,22 +16,6 @@
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="sizePolicy">
Expand All @@ -49,7 +33,23 @@
<property name="title">
<string>Number of Candidates</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<layout class="QGridLayout" name="gridLayout" columnstretch="0,2,3">
<item row="0" column="1">
<widget class="QgsDoubleSpinBox" name="spinCandLine">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="maximum">
<double>1000.000000000000000</double>
</property>
<property name="singleStep">
<double>1.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
Expand Down Expand Up @@ -82,8 +82,8 @@
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QgsDoubleSpinBox" name="spinCandLine">
<item row="1" column="1">
<widget class="QgsDoubleSpinBox" name="spinCandPolygon">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
Expand All @@ -98,41 +98,22 @@
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QgsDoubleSpinBox" name="spinCandPolygon">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="decimals">
<number>1</number>
<item row="0" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="maximum">
<double>1000.000000000000000</double>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
<property name="singleStep">
<double>1.000000000000000</double>
</property>
</widget>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
Expand Down

0 comments on commit 664517a

Please sign in to comment.