diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-16 10:14:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-16 11:33:20 +0100 |
commit | 363446eb61de141deb1364805e0d7cd0e1f6d7fe (patch) | |
tree | ee1d0e11a8c3b99fe3ebf3b9ec2e85c6be1a6d6e /svtools | |
parent | Set URE_INTERNAL_JAVA_DIR for unorc to allow jvm in unit tests. (diff) | |
download | core-363446eb61de141deb1364805e0d7cd0e1f6d7fe.tar.gz core-363446eb61de141deb1364805e0d7cd0e1f6d7fe.zip |
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
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/addresstemplate.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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<VclScrolledWindow>("scrollwindow")->getVertScrollBar(); + VclScrolledWindow *pScrollWindow = get<VclScrolledWindow>("scrollwindow"); + pScrollWindow->setUserManagedScrolling(true); + m_pFieldScroller = &pScrollWindow->getVertScrollBar(); for (sal_Int32 row=0; row<FIELD_PAIRS_VISIBLE; ++row) { |