sc/source/ui/navipi/navipi.cxx    |    1 +
 sd/source/ui/dlg/navigatr.cxx     |    1 +
 sw/source/uibase/utlui/navipi.cxx |    1 +
 3 files changed, 3 insertions(+)

New commits:
commit 89521131b6f9e5c6aa7266312577877d5d324e8c
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Nov 1 09:02:47 2019 +0000
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Fri Nov 1 13:41:35 2019 +0100

    Resolves: tdf#128476 limit sidebar navigation panel file name combobox width
    
    Change-Id: I81549ada6f6b736ad54e18a4fec6807b8d0412af
    Reviewed-on: https://gerrit.libreoffice.org/81876
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index 755856c6a961..cbb29b3d2183 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -491,6 +491,7 @@ ScNavigatorDlg::ScNavigatorDlg(SfxBindings* pB, 
vcl::Window* pParent)
     aTbxCmd->InsertBreak(3);
     aTbxCmd->SetLineCount(2);
     aLbDocuments->SetDropDownLineCount(9);
+    aLbDocuments->setMaxWidthChars(20);
     aLbDocuments->SetSelectHdl(LINK(this, ScNavigatorDlg, DocumentSelectHdl));
     aStrActive    = " (" + ScResId(SCSTR_ACTIVE) + ")";     // " (active)"
     aStrNotActive = " (" + ScResId(SCSTR_NOTACTIVE) + ")";  // " (not active)"
diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx
index f3170a445993..cc118c26b0b1 100644
--- a/sd/source/ui/dlg/navigatr.cxx
+++ b/sd/source/ui/dlg/navigatr.cxx
@@ -93,6 +93,7 @@ SdNavigatorWin::SdNavigatorWin(vcl::Window* pParent, 
SfxBindings* pInBindings)
     maTlbObjects->SetSdNavigator(this);
 
     // DragTypeListBox
+    maLbDocs->setMaxWidthChars(20);
     maLbDocs->SetSelectHdl( LINK( this, SdNavigatorWin, SelectDocumentHdl ) );
 }
 
diff --git a/sw/source/uibase/utlui/navipi.cxx 
b/sw/source/uibase/utlui/navipi.cxx
index e946ab09e5b6..0fde7ddde1d3 100644
--- a/sw/source/uibase/utlui/navipi.cxx
+++ b/sw/source/uibase/utlui/navipi.cxx
@@ -631,6 +631,7 @@ SwNavigationPI::SwNavigationPI(SfxBindings* _pBindings,
     m_aGlobalToolBox->SetHelpId(HID_NAVIGATOR_GLOBAL_TOOLBOX);
     m_aDocListBox->SetHelpId(HID_NAVIGATOR_LISTBOX);
     m_aDocListBox->SetDropDownLineCount(9);
+    m_aDocListBox->setMaxWidthChars(20);
 
     // Insert the numeric field in the toolbox.
     m_xEdit = VclPtr<NumEditAction>::Create(
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to