summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2019-05-29 16:32:24 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2019-06-04 07:53:57 +0200
commit7303ca75d9fd0cf98cd38950711c32c892d94285 (patch)
treeae8c0451a3939fe3fe31f7d07c834b71acb5d0e1 /starmath
parent344275e11e24084c970ff19acfeed3ddf50d58bb (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> (cherry picked from commit 501b935d057547b1a785147a32e4e090ebd91a12) Reviewed-on: https://gerrit.libreoffice.org/73385 Reviewed-by: Michael Weghorn <m.weghorn@posteo.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"),