Skip to content

Commit

Permalink
Update adv labeling groupbox layout
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed Sep 11, 2012
1 parent 1767523 commit 3876b3e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion src/app/qgslabelinggui.cpp
Expand Up @@ -268,10 +268,16 @@ QgsLabelingGui::QgsLabelingGui( QgsPalLabeling* lbl, QgsVectorLayer* layer, QgsM
connect( quadrantRadios[i], SIGNAL( toggled( bool ) ), this, SLOT( updateQuadrant() ) );
}

// Label tab collapsed groupboxes
chkBuffer->setCollapsed( true );
groupBox_2->setCollapsed( true );
mFontMultiLineGroupBox->setCollapsed( true );
chkFormattedNumbers->setCollapsed( true );
chkScaleBasedVisibility->setCollapsed( true );

// Data defined tab collapsed groupboxes
mBufferAttributesPropertiesGroupBox->setCollapsed( true );
mFontAttributePropertiesGroupBox->setCollapsed( true );

}

QgsLabelingGui::~QgsLabelingGui()
Expand Down
10 changes: 5 additions & 5 deletions src/ui/qgslabelingguibase.ui
Expand Up @@ -438,7 +438,7 @@
<number>20</number>
</property>
<item row="5" column="0">
<widget class="QgsCollapsibleGroupBox" name="groupBox_2">
<widget class="QgsCollapsibleGroupBox" name="mFontMultiLineGroupBox">
<property name="minimumSize">
<size>
<width>0</width>
Expand Down Expand Up @@ -586,7 +586,7 @@
</widget>
</item>
<item row="2" column="0">
<widget class="QgsCollapsibleGroupBox" name="groupBox_6">
<widget class="QgsCollapsibleGroupBox" name="mFontStyleGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch>
Expand Down Expand Up @@ -1478,7 +1478,7 @@
<number>6</number>
</property>
<item row="2" column="0">
<widget class="QgsCollapsibleGroupBox" name="groupBox">
<widget class="QgsCollapsibleGroupBox" name="mOptionsGroupBox">
<property name="maximumSize">
<size>
<width>16777215</width>
Expand Down Expand Up @@ -1579,7 +1579,7 @@
</widget>
</item>
<item row="1" column="0">
<widget class="QgsCollapsibleGroupBox" name="groupBox_7">
<widget class="QgsCollapsibleGroupBox" name="mPriorityGroupBox">
<property name="maximumSize">
<size>
<width>16777215</width>
Expand Down Expand Up @@ -1627,7 +1627,7 @@
</widget>
</item>
<item row="0" column="0">
<widget class="QgsCollapsibleGroupBox" name="groupBox_5">
<widget class="QgsCollapsibleGroupBox" name="mPlacementGroupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch>
Expand Down

0 comments on commit 3876b3e

Please sign in to comment.