diff -r 4c163c82e7ad -r 71306c87785a mmsharing/mmshui/src/musuigeneralview.cpp --- a/mmsharing/mmshui/src/musuigeneralview.cpp Wed Apr 14 15:53:49 2010 +0300 +++ b/mmsharing/mmshui/src/musuigeneralview.cpp Tue Apr 27 16:34:06 2010 +0300 @@ -865,6 +865,25 @@ } // ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +TInt CMusUiGeneralView::ToolbarPlaceHolderWidth() const + { + TInt toolbarPlaceHolderWidth( 0 ); + CAknAppUiBase::TAppUiOrientation orientation = MusAppUi()->AppOrientation(); + if ( !Toolbar()->IsShown() && + orientation == CAknAppUiBase::EAppUiOrientationLandscape && + AknLayoutUtils::PenEnabled() ) + { + // In touch UI in EAppUiOrientationLandscape mode the toolbar + // fills the whole lower part of the screen + toolbarPlaceHolderWidth = Toolbar()->Size().iWidth; + } + return toolbarPlaceHolderWidth; + } + +// ----------------------------------------------------------------------------- // Increase/Decrease background container ordinal so that other controls // can preceed background // -----------------------------------------------------------------------------