summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2019-05-29 16:32:24 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2019-06-03 14:25:12 +0200
commit501b935d057547b1a785147a32e4e090ebd91a12 (patch)
tree3431f7dbfcc477b96fe30edda9304f82db68fbb4 /starmath
parentc0d372d7c0d9284aad8b0d5142dff7c34c062fa9 (diff)
SM add a border to the editor and the element list
Change-Id: I708476919ce7750df6a691d75fe594c3f44d9126 Reviewed-on: https://gerrit.libreoffice.org/73173 Tested-by: Jenkins Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> Tested-by: Heiko Tietze <tietze.heiko@gmail.com> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/ElementsDockingWindow.cxx2
-rw-r--r--starmath/source/edit.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index 7491e71823b1..22229483c650 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -259,7 +259,7 @@ const std::tuple<const char*, const SmElementDescr*, size_t> SmElementsControl::
const size_t SmElementsControl::m_aCategoriesSize = SAL_N_ELEMENTS(m_aCategories);
SmElementsControl::SmElementsControl(vcl::Window *pParent)
- : Control(pParent, WB_TABSTOP)
+ : Control(pParent, WB_TABSTOP | WB_BORDER)
, mpDocShell(new SmDocShell(SfxModelFlags::EMBEDDED_OBJECT))
, m_nCurrentElement(SAL_MAX_UINT16)
, m_nCurrentRolloverElement(SAL_MAX_UINT16)
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 643ef04a1960..515b924ee1ef 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -73,7 +73,7 @@ bool SmEditWindow::IsInlineEditEnabled()
SmEditWindow::SmEditWindow( SmCmdBoxWindow &rMyCmdBoxWin ) :
- Window (&rMyCmdBoxWin),
+ Window (&rMyCmdBoxWin, WB_BORDER),
DropTargetHelper ( this ),
rCmdBox (rMyCmdBoxWin),
aModifyIdle ("SmEditWindow ModifyIdle"),