diff -r 16d8024aca5e -r f7ac710697a9 src/hbwidgets/dataform/hbdataformheadingwidget_p.cpp --- a/src/hbwidgets/dataform/hbdataformheadingwidget_p.cpp Mon Apr 19 14:02:13 2010 +0300 +++ b/src/hbwidgets/dataform/hbdataformheadingwidget_p.cpp Mon May 03 12:48:33 2010 +0300 @@ -54,9 +54,11 @@ } if(!mHeading.isEmpty()) { if(!mHeadingItem){ + setProperty( "hasHeading", true ); mHeadingItem = style()->createPrimitive(HbStyle::P_DataForm_heading, this); } } else { + setProperty( "hasHeading", false ); if(mHeadingItem){ delete mHeadingItem; mHeadingItem = 0; @@ -64,10 +66,12 @@ } if(!mDescription.isEmpty()) { - if(!mDescriptionItem) { + if(!mDescriptionItem) { + setProperty( "hasDescription", true ); mDescriptionItem = style()->createPrimitive(HbStyle::P_DataForm_description, this); } - } else { + } else { + setProperty( "hasDescription", false ); if(mDescriptionItem) { delete mDescriptionItem; mDescriptionItem = 0;