[Libreoffice-commits] core.git: vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 8 11:56:52 UTC 2018


 vcl/source/window/builder.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit ac16fe01ad7bd0f48a398f6d5ca4475eff7e2068
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Nov 5 15:04:20 2018 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Nov 8 12:55:06 2018 +0100

    select entire column, not just text-occupied portion
    
    making this consistent with ListBox
    
    Change-Id: Ifa2fd7070f95232fca8aa129e107ef5adf32e3df
    Reviewed-on: https://gerrit.libreoffice.org/62907
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 71bfae795c0f..63da9929989c 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -1836,6 +1836,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
         {
             VclPtrInstance<SvTreeListBox> xBox(pRealParent, nWinStyle);
             xBox->SetNoAutoCurEntry(true);
+            xBox->SetHighlightRange(); // select over the whole width
             xWindow = xBox;
         }
         if (pRealParent != pParent)


More information about the Libreoffice-commits mailing list