starmath/source/toolbox.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit b0a43fc66fdc2a4aacff989de7c3d5034a917b69 Author: Matthias Seidel <msei...@apache.org> AuthorDate: Sun May 5 17:45:04 2019 +0000 Commit: Matthias Seidel <msei...@apache.org> CommitDate: Sun May 5 17:45:04 2019 +0000 Set initial size to 5 lines for math toolbox diff --git a/starmath/source/toolbox.cxx b/starmath/source/toolbox.cxx index bcbfa00b8f67..45a7c8f22dda 100644 --- a/starmath/source/toolbox.cxx +++ b/starmath/source/toolbox.cxx @@ -256,7 +256,7 @@ void SmToolBoxWindow::StateChanged( StateChangedType nStateChange ) void SmToolBoxWindow::AdjustPosSize( sal_Bool bSetPos ) { Size aCatSize( aToolBoxCat.CalcWindowSizePixel( 2 ) ); - Size aCmdSize( pToolBoxCmd->CalcWindowSizePixel( 4 /* see nLines in SetCategory */ ) ); + Size aCmdSize( pToolBoxCmd->CalcWindowSizePixel( 5 /* see nLines in SetCategory */ ) ); DBG_ASSERT( aCatSize.Width() == aCmdSize.Width(), "width mismatch" ); // catalog settings @@ -324,7 +324,7 @@ void SmToolBoxWindow::SetCategory(sal_uInt16 nCategoryRID) // check for valid resource id switch (nCategoryRID) { - case RID_UNBINOPS_CAT : nLines = 4; break; + case RID_UNBINOPS_CAT : nLines = 5; break; case RID_RELATIONS_CAT: nLines = 5; break; case RID_SETOPERATIONS_CAT: nLines = 5; break; case RID_FUNCTIONS_CAT: nLines = 5; break; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits