Kaydet (Commit) ebb2b8ce authored tarafından Caolán McNamara's avatar Caolán McNamara

tdf#112845 rtl dropdowns in wrong position

for rtl we mirror the position of popdowns, so we need
to know their initial desired position before they have actually
appeared yet and have a valid maGeometry.nX, so fill in the
hoped-for position as the current position

Change-Id: Ic22dc3e5d9922f5d48bbbdaad53caabff57188d8
Reviewed-on: https://gerrit.libreoffice.org/43459Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst dc8c9d80
......@@ -1621,6 +1621,9 @@ void GtkSalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_u
nY += m_pParent->maGeometry.nY;
}
maGeometry.nX = nX;
maGeometry.nY = nY;
m_bDefaultPos = false;
moveWindow(nX, nY);
......
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