vcl/source/window/builder.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit ac16fe01ad7bd0f48a398f6d5ca4475eff7e2068
Author: Caolán McNamara <[email protected]>
AuthorDate: Mon Nov 5 15:04:20 2018 +0000
Commit: Caolán McNamara <[email protected]>
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 <[email protected]>
Tested-by: Caolán McNamara <[email protected]>
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)
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits