Kaydet (Commit) 0b41ebf3 authored tarafından Zolnai Tamás's avatar Zolnai Tamás

Startcenter: when screen is small make doc thumbails smaller

Change-Id: If4fbb66992318221a687710afa77fc98e4f111c3
üst cda6438c
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
*/ */
#include <sfx2/recentdocsview.hxx> #include <sfx2/recentdocsview.hxx>
#include <vcl/svapp.hxx>
#include <sfx2/templateabstractview.hxx> #include <sfx2/templateabstractview.hxx>
#include <sfx2/app.hxx> #include <sfx2/app.hxx>
#include <sfx2/sfx.hrc> #include <sfx2/sfx.hrc>
...@@ -41,7 +41,7 @@ using namespace com::sun::star::beans; ...@@ -41,7 +41,7 @@ using namespace com::sun::star::beans;
RecentDocsView::RecentDocsView( Window* pParent ) RecentDocsView::RecentDocsView( Window* pParent )
: ThumbnailView(pParent) : ThumbnailView(pParent)
, mnFileTypes(TYPE_NONE) , mnFileTypes(TYPE_NONE)
, mnItemMaxSize(256) , mnItemMaxSize(Application::GetScreenPosSizePixel(Application::GetDisplayBuiltInScreen()).GetWidth() > 800 ? 256 : 192)
, mnTextHeight(30) , mnTextHeight(30)
, mnItemPadding(5) , mnItemPadding(5)
, mnItemMaxTextLength(30) , mnItemMaxTextLength(30)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment