diff -r aabf2c525e0f -r 9f56a4e1b8ab uifw/ganes/src/HgDoubleTextList.cpp --- a/uifw/ganes/src/HgDoubleTextList.cpp Fri Mar 12 15:43:43 2010 +0200 +++ b/uifw/ganes/src/HgDoubleTextList.cpp Mon Mar 15 12:41:34 2010 +0200 @@ -24,6 +24,7 @@ #include "HgIndicatorManager.h" #include "HgDrawUtils.h" #include "HgConstants.h" +#include "HgScrollbar.h" #include #include @@ -87,7 +88,8 @@ iLayoutData->SetTitleLayout(i, list_double_pane_t1( i )); iLayoutData->SetTextLayout(list_double_pane_t2( 2 )); iLayoutData->SetFirstIndicatorLayout(list_double_pane_g2(0)); - iLayoutData->SetSecondIndicatorLayout(list_double_pane_g1(1)); + TInt variety = iScrollbar && !iScrollbar->IsStatic() ? 1 : 0; + iLayoutData->SetSecondIndicatorLayout(list_double_pane_g1(variety)); // Get the Row rect. TAknLayoutRect layout; @@ -183,3 +185,14 @@ } +// ----------------------------------------------------------------------------- +// CHgDoubleTextList::HandleScrollbarVisibilityChange() +// ----------------------------------------------------------------------------- +// +void CHgDoubleTextList::HandleScrollbarVisibilityChange( TBool aVisible ) + { + TInt variety = aVisible ? 1 : 0; + iLayoutData->SetSecondIndicatorLayout(list_double_pane_g1(variety)); + } + +// End of file