Kaydet (Commit) 67311738 authored tarafından José Guilherme Vanz's avatar José Guilherme Vanz Kaydeden (comit) Marcos Souza

fdo#65588 - Elements Dock: Scrollbar moves into input window

This change "solves" the visual problem. But I don't think so
this is the best solution

Change-Id: I658f7a4182578e49644ae6de281f221499d61ad3
Reviewed-on: https://gerrit.libreoffice.org/6602Reviewed-by: 's avatarMarcos Souza <marcos.souza.org@gmail.com>
Tested-by: 's avatarMarcos Souza <marcos.souza.org@gmail.com>
üst c980158a
......@@ -1033,7 +1033,17 @@ void SmEditWindow::InsertText(const OUString& rText)
if (aSelection.nStartPos > 0 && aCurrentFormula[nStartIndex - 1] != ' ')
string = " " + string;
/*
fdo#65588 - Elements Dock: Scrollbar moves into input window
This change "solves" the visual problem. But I don't think so
this is the best solution.
*/
pVScrollBar->Hide();
pHScrollBar->Hide();
pEditView->InsertText(string);
AdjustScrollBars();
pVScrollBar->Show();
pHScrollBar->Show();
// Remember start of the selection and move the cursor there afterwards.
aSelection.nEndPara = aSelection.nStartPara;
......
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