This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 5e4de9d  Small visual changes to Math Command Window
5e4de9d is described below

commit 5e4de9dd70955c2dc682624120801965f6ad46b4
Author: mseidel <[email protected]>
AuthorDate: Sat Mar 12 12:51:04 2022 +0100

    Small visual changes to Math Command Window
    
    (cherry picked from commit dd72dd4060b036925b2b5c7ac8bf64368c824347)
---
 main/starmath/source/view.cxx | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/main/starmath/source/view.cxx b/main/starmath/source/view.cxx
index a242f1f..9c3379d 100644
--- a/main/starmath/source/view.cxx
+++ b/main/starmath/source/view.cxx
@@ -185,7 +185,7 @@ void SmGraphicWindow::MouseButtonDown(const MouseEvent& 
rMEvt)
 
 #ifdef notnow
                        // include introducing symbols of special char and text
-                       // (ie '%' and '"')
+                       // (i.e. '%' and '"')
                        sal_uInt16 nExtra = (aToken.eType == TSPECIAL || 
aToken.eType == TTEXT) ? 1 : 0;
 
                        // set selection to the beginning of the token
@@ -546,9 +546,9 @@ void SmCmdBoxWindow::Resize()
        }
 
        DecorationView aView(this);
-       aRect.Left() += 8; aRect.Top()   += 8;
-       aRect.Right()-= 8; aRect.Bottom()-= 8;
-       aRect = aView.DrawFrame( aRect, FRAME_DRAW_DOUBLEIN );
+       aRect.Left() += 6; aRect.Top()   += 6;
+       aRect.Right()-= 6; aRect.Bottom()-= 6;
+       aRect = aView.DrawFrame( aRect, FRAME_DRAW_IN );
 
        aEdit.SetPosSizePixel(aRect.TopLeft(), aRect.GetSize());
        SfxDockingWindow::Resize();
@@ -592,9 +592,9 @@ void SmCmdBoxWindow::Paint(const Rectangle& /*rRect*/)
                DrawLine( aFrom, aTo );
                aView.DrawFrame(aRect, FRAME_DRAW_OUT);
        }
-       aRect.Left() += 8; aRect.Top()   += 8;
-       aRect.Right()-= 8; aRect.Bottom()-= 8;
-       aRect = aView.DrawFrame( aRect, FRAME_DRAW_DOUBLEIN );
+       aRect.Left() += 6; aRect.Top()   += 6;
+       aRect.Right()-= 6; aRect.Bottom()-= 6;
+       aRect = aView.DrawFrame( aRect, FRAME_DRAW_IN );
 }
 
 
@@ -2006,4 +2006,3 @@ void SmViewShell::Notify( SfxBroadcaster& , const 
SfxHint& rHint )
                }
        }
 }
-

Reply via email to