Kaydet (Commit) 9fb40eab authored tarafından Eike Rathke's avatar Eike Rathke

show parameter tip help below instead of above, tdf#95878 follow-up

Showing it above obstructs the column headers when entering a formula in
the first two rows and mouse selection on column headers is also not
possible.

Change-Id: I8261f234fe7ed8f329ea7a131eb675e86e1d7988
üst b0e27cf5
...@@ -1019,13 +1019,13 @@ void ScInputHandler::ShowArgumentsTip( OUString& rSelText ) ...@@ -1019,13 +1019,13 @@ void ScInputHandler::ShowArgumentsTip( OUString& rSelText )
aBuf.append( " : " ); aBuf.append( " : " );
aBuf.append( ppFDesc->getParameterDescription(nActive-1) ); aBuf.append( ppFDesc->getParameterDescription(nActive-1) );
aNew = aBuf.makeStringAndClear(); aNew = aBuf.makeStringAndClear();
ShowTip( aNew ); ShowTipBelow( aNew );
bFound = true; bFound = true;
} }
} }
else else
{ {
ShowTip( aNew ); ShowTipBelow( aNew );
bFound = true; bFound = true;
} }
} }
...@@ -1066,7 +1066,10 @@ void ScInputHandler::ShowTipCursor() ...@@ -1066,7 +1066,10 @@ void ScInputHandler::ShowTipCursor()
void ScInputHandler::ShowTip( const OUString& rText ) void ScInputHandler::ShowTip( const OUString& rText )
{ {
// aManualTip needs to be set afterwards from outside // aManualTip needs to be set afterwards from outside
HideTip(); HideTip();
HideTipBelow();
EditView* pActiveView = pTopView ? pTopView : pTableView; EditView* pActiveView = pTopView ? pTopView : pTableView;
if (pActiveView) if (pActiveView)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment