diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-11-28 20:21:26 +0530 |
---|---|---|
committer | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-11-28 20:44:18 +0000 |
commit | 9abc547ef28f3f6891030597fd304ca757b102da (patch) | |
tree | 9823188a910567da27e50e28d33ee29f3f4518fc /sfx2/source | |
parent | fd3db1cf77c86cd787f912b7bb2ba3ad894203f3 (diff) |
tdf#101870 - Template manager thumbnail view control needs a border
Change-Id: If1773b99aa816b2b45fe16127ff09a646e3702ae
Reviewed-on: https://gerrit.libreoffice.org/31324
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/control/templatedefaultview.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/templatelocalview.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/control/templatesearchview.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/control/templatedefaultview.cxx b/sfx2/source/control/templatedefaultview.cxx index 9884e0628d40..219c533ff0eb 100644 --- a/sfx2/source/control/templatedefaultview.cxx +++ b/sfx2/source/control/templatedefaultview.cxx @@ -26,7 +26,7 @@ VCL_BUILDER_FACTORY(TemplateDefaultView) static const int gnItemPadding(5); //TODO:: Change padding to 10. It looks really crowded and occupied. TemplateDefaultView::TemplateDefaultView( Window* pParent) - : TemplateLocalView(pParent) + : TemplateLocalView(pParent, WB_TABSTOP) , mnTextHeight(30) { Rectangle aScreen = Application::GetScreenPosSizePixel(Application::GetDisplayBuiltInScreen()); diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx index a37dab2b76b0..6603a3ca6266 100644 --- a/sfx2/source/control/templatelocalview.cxx +++ b/sfx2/source/control/templatelocalview.cxx @@ -88,8 +88,8 @@ bool ViewFilter_Application::operator () (const ThumbnailViewItem *pItem) return true; } -TemplateLocalView::TemplateLocalView ( vcl::Window* pParent) - : ThumbnailView(pParent), +TemplateLocalView::TemplateLocalView ( vcl::Window* pParent, WinBits nWinStyle) + : ThumbnailView(pParent, nWinStyle), mnCurRegionId(0), maSelectedItem(nullptr), mnThumbnailWidth(TEMPLATE_THUMBNAIL_MAX_WIDTH), diff --git a/sfx2/source/control/templatesearchview.cxx b/sfx2/source/control/templatesearchview.cxx index e1db4e53c65f..8403143d34b8 100644 --- a/sfx2/source/control/templatesearchview.cxx +++ b/sfx2/source/control/templatesearchview.cxx @@ -24,7 +24,7 @@ #define MNI_DELETE 4 TemplateSearchView::TemplateSearchView (vcl::Window *pParent) - : ThumbnailView(pParent,WB_TABSTOP | WB_VSCROLL), + : ThumbnailView(pParent,WB_TABSTOP | WB_VSCROLL | WB_BORDER), maSelectedItem(nullptr), maPosition(0,0) { |