summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/editpropertyhandler.cxx
diff options
context:
space:
mode:
authorFrank Schönheit <frank.schoenheit@sun.com>2009-10-23 12:10:07 +0200
committerFrank Schönheit <frank.schoenheit@sun.com>2009-10-23 12:10:07 +0200
commitdbfa229dc7835486a5fe4e6b206f9a42adf704b8 (patch)
tree92a80f7754a526af05b2114e8c03b78887c82245 /extensions/source/propctrlr/editpropertyhandler.cxx
parent947dc0943bf74fda75c142a9669c906c6a8d97d8 (diff)
#i106184# introduce a 'VerticalAlign' property for edit-like form controls
Diffstat (limited to 'extensions/source/propctrlr/editpropertyhandler.cxx')
-rw-r--r--extensions/source/propctrlr/editpropertyhandler.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/source/propctrlr/editpropertyhandler.cxx b/extensions/source/propctrlr/editpropertyhandler.cxx
index b78ee1355..7e6987494 100644
--- a/extensions/source/propctrlr/editpropertyhandler.cxx
+++ b/extensions/source/propctrlr/editpropertyhandler.cxx
@@ -298,6 +298,7 @@ namespace pcr
_rxInspectorUI->enablePropertyUI( PROPERTY_DEFAULT_TEXT, nTextType != TEXTTYPE_RICHTEXT );
_rxInspectorUI->enablePropertyUI( PROPERTY_SHOW_SCROLLBARS, nTextType != TEXTTYPE_SINGLELINE );
_rxInspectorUI->enablePropertyUI( PROPERTY_LINEEND_FORMAT, nTextType != TEXTTYPE_SINGLELINE );
+ _rxInspectorUI->enablePropertyUI( PROPERTY_VERTICAL_ALIGN, nTextType == TEXTTYPE_SINGLELINE );
_rxInspectorUI->showCategory( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Data" ) ), nTextType != TEXTTYPE_RICHTEXT );
}