[PATCH] Change in core[libreoffice-4-0]: Resolves: fdo#59112 re-scroll to current entry when dialog r...
Caolán McNamara (via_Code_Review)
gerrit at gerrit.libreoffice.org
Thu Jan 10 05:52:10 PST 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1628
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/28/1628/1
Resolves: fdo#59112 re-scroll to current entry when dialog resized
Change-Id: I96486f6edad11520bf9bb43b700b1716d9b2f170
(cherry picked from commit 2c403c7f36561410418ebb9f86664e46a8c1c968)
---
M sc/source/ui/dbgui/sortkeydlg.cxx
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sc/source/ui/dbgui/sortkeydlg.cxx b/sc/source/ui/dbgui/sortkeydlg.cxx
index 45d65ca..e71a48f 100644
--- a/sc/source/ui/dbgui/sortkeydlg.cxx
+++ b/sc/source/ui/dbgui/sortkeydlg.cxx
@@ -127,6 +127,7 @@
sal_Int32 nVisibleItems = m_rScrolledWindow.getVisibleChildSize().Height() / nScrollOffset;
m_rVertScroll.SetPageSize( nVisibleItems - 1 );
m_rVertScroll.SetVisibleSize( nVisibleItems );
+ m_rVertScroll.Scroll();
}
// -----------------------------------------------------------------------
--
To view, visit https://gerrit.libreoffice.org/1628
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I96486f6edad11520bf9bb43b700b1716d9b2f170
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Caolán McNamara <caolanm at redhat.com>
More information about the LibreOffice
mailing list