Skip to content
Permalink
Browse files

fix offset labels in label dialog

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12582 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 22, 2009
1 parent 14fcdd7 commit c52a317e8d9c0f1b9b5e79c1247f5e10627b721e
Showing with 11 additions and 3 deletions.
  1. +9 −1 src/app/qgslabeldialog.cpp
  2. +2 −2 src/ui/qgslabeldialogbase.ui
@@ -188,7 +188,15 @@ void QgsLabelDialog::init( )
{
mFont.setItalic( false );
}
mFont.setUnderline( myLabelAttributes->underline() );
if ( myLabelAttributes->underlineIsSet() )
{
mFont.setUnderline( myLabelAttributes->underline() );
}
else
{
mFont.setUnderline( false );
}

mFontColor = myLabelAttributes->color();

if ( myLabelAttributes->offsetIsSet() )
@@ -449,14 +449,14 @@
<item row="0" column="0">
<widget class="QLabel" name="textLabel1_2_2_2_3">
<property name="text">
<string>Y Offset (pts)</string>
<string>X Offset (pts)</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="textLabel1_2_3_2">
<property name="text">
<string>X Offset (pts)</string>
<string>Y Offset (pts)</string>
</property>
</widget>
</item>

0 comments on commit c52a317

Please sign in to comment.
You can’t perform that action at this time.