From 363446eb61de141deb1364805e0d7cd0e1f6d7fe Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 16 Sep 2013 10:14:06 +0100 Subject: Resolves: fdo#69236 route size request to layout widget, not hard-coded value a) For the sidebar the sidebars automatically handle scrolling, but for the older panel the widgets has to do the scrolling so add scrolling parents to the .ui b) Fold the DialogListBox scrolling widget implementation into VclScrolledWindow and remove the duplication. Change-Id: Ife9ccd8c501e5dee7bf3102a92c8261d979cd834 --- svtools/source/dialogs/addresstemplate.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'svtools') diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 1a922f47de09..eb81fb6f7ea2 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -575,7 +575,9 @@ void AssignmentPersistentData::Commit() get(m_pDatasource, "datasource"); get(m_pAdministrateDatasources, "admin"); get(m_pTable, "datatable"); - m_pFieldScroller = &get("scrollwindow")->getVertScrollBar(); + VclScrolledWindow *pScrollWindow = get("scrollwindow"); + pScrollWindow->setUserManagedScrolling(true); + m_pFieldScroller = &pScrollWindow->getVertScrollBar(); for (sal_Int32 row=0; row