--- a/videocollection/videofiledetailsview/src/videofiledetailsviewplugin.cpp Wed Jun 23 18:14:16 2010 +0300
+++ b/videocollection/videofiledetailsview/src/videofiledetailsviewplugin.cpp Tue Jul 06 14:17:50 2010 +0300
@@ -15,7 +15,7 @@
*
*/
-// Version : %version: 76 %
+// Version : %version: 76.1.1 %
// INCLUDE FILES
#include <qcoreapplication.h>
@@ -326,6 +326,14 @@
return;
}
+ // Fix the size of the thumbnail, as that needs to be in 16:9
+ qreal width = button->size().width();
+ qreal height = width * 9 / 16;
+
+ HbStackedWidget* thumbWidget = findWidget<HbStackedWidget>(VIDEO_DETAILS_THUMBNAIL);
+ thumbWidget->setPreferredWidth(width);
+ thumbWidget->setPreferredHeight(height);
+
if (service == VideoServices::EUriFetcher)
{
button->setText(hbTrId("txt_videos_button_attach"));