Skip to content

Commit 3876b3e

Browse files
committed
Update adv labeling groupbox layout
1 parent 1767523 commit 3876b3e

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

src/app/qgslabelinggui.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,16 @@ QgsLabelingGui::QgsLabelingGui( QgsPalLabeling* lbl, QgsVectorLayer* layer, QgsM
268268
connect( quadrantRadios[i], SIGNAL( toggled( bool ) ), this, SLOT( updateQuadrant() ) );
269269
}
270270

271+
// Label tab collapsed groupboxes
271272
chkBuffer->setCollapsed( true );
272-
groupBox_2->setCollapsed( true );
273+
mFontMultiLineGroupBox->setCollapsed( true );
273274
chkFormattedNumbers->setCollapsed( true );
274275
chkScaleBasedVisibility->setCollapsed( true );
276+
277+
// Data defined tab collapsed groupboxes
278+
mBufferAttributesPropertiesGroupBox->setCollapsed( true );
279+
mFontAttributePropertiesGroupBox->setCollapsed( true );
280+
275281
}
276282

277283
QgsLabelingGui::~QgsLabelingGui()

src/ui/qgslabelingguibase.ui

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@
438438
<number>20</number>
439439
</property>
440440
<item row="5" column="0">
441-
<widget class="QgsCollapsibleGroupBox" name="groupBox_2">
441+
<widget class="QgsCollapsibleGroupBox" name="mFontMultiLineGroupBox">
442442
<property name="minimumSize">
443443
<size>
444444
<width>0</width>
@@ -586,7 +586,7 @@
586586
</widget>
587587
</item>
588588
<item row="2" column="0">
589-
<widget class="QgsCollapsibleGroupBox" name="groupBox_6">
589+
<widget class="QgsCollapsibleGroupBox" name="mFontStyleGroupBox">
590590
<property name="sizePolicy">
591591
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
592592
<horstretch>0</horstretch>
@@ -1478,7 +1478,7 @@
14781478
<number>6</number>
14791479
</property>
14801480
<item row="2" column="0">
1481-
<widget class="QgsCollapsibleGroupBox" name="groupBox">
1481+
<widget class="QgsCollapsibleGroupBox" name="mOptionsGroupBox">
14821482
<property name="maximumSize">
14831483
<size>
14841484
<width>16777215</width>
@@ -1579,7 +1579,7 @@
15791579
</widget>
15801580
</item>
15811581
<item row="1" column="0">
1582-
<widget class="QgsCollapsibleGroupBox" name="groupBox_7">
1582+
<widget class="QgsCollapsibleGroupBox" name="mPriorityGroupBox">
15831583
<property name="maximumSize">
15841584
<size>
15851585
<width>16777215</width>
@@ -1627,7 +1627,7 @@
16271627
</widget>
16281628
</item>
16291629
<item row="0" column="0">
1630-
<widget class="QgsCollapsibleGroupBox" name="groupBox_5">
1630+
<widget class="QgsCollapsibleGroupBox" name="mPlacementGroupBox">
16311631
<property name="sizePolicy">
16321632
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
16331633
<horstretch>0</horstretch>

0 commit comments

Comments
 (0)