openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msei...@apache.org
Subject svn commit: r1858700 - /openoffice/trunk/main/starmath/source/toolbox.cxx
Date Sun, 05 May 2019 17:45:04 GMT
Author: mseidel
Date: Sun May  5 17:45:04 2019
New Revision: 1858700

URL: http://svn.apache.org/viewvc?rev=1858700&view=rev
Log:
Set initial size to 5 lines for math toolbox

Modified:
    openoffice/trunk/main/starmath/source/toolbox.cxx

Modified: openoffice/trunk/main/starmath/source/toolbox.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/starmath/source/toolbox.cxx?rev=1858700&r1=1858699&r2=1858700&view=diff
==============================================================================
--- openoffice/trunk/main/starmath/source/toolbox.cxx (original)
+++ openoffice/trunk/main/starmath/source/toolbox.cxx Sun May  5 17:45:04 2019
@@ -256,7 +256,7 @@ void SmToolBoxWindow::StateChanged( Stat
 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_uI
 	// 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;



Mime
View raw message