vcl/source/control/ivctrl.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 21a0d9db670364e841e06692d3863e4e217f70a0
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Nov 12 14:46:03 2020 +0000
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Wed Nov 25 09:35:53 2020 +0100

    tdf#131970 enable tab-cycling between VerticalTabControl members
    
    Related: tdf#131970 icon-switcher should be in single-selection mode
    
    Change-Id: I7d009c2345cc7b3a3c692bb8734d9939ce465db2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105764
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/vcl/source/control/ivctrl.cxx b/vcl/source/control/ivctrl.cxx
index 82e2bbc0c08b..b995ddfded5c 100644
--- a/vcl/source/control/ivctrl.cxx
+++ b/vcl/source/control/ivctrl.cxx
@@ -447,7 +447,9 @@ VerticalTabControl::VerticalTabControl(vcl::Window* pParent)
                                                          WB_ALIGN_LEFT | 
WB_NOHSCROLL))
     , m_xBox(VclPtr<VclVBox>::Create(this))
 {
+    SetStyle(GetStyle() | WB_DIALOGCONTROL);
     SetType(WindowType::VERTICALTABCONTROL);
+    m_xChooser->SetSelectionMode(SelectionMode::Single);
     m_xChooser->SetClickHdl(LINK(this, VerticalTabControl, ChosePageHdl_Impl));
     m_xChooser->set_width_request(110);
     m_xChooser->set_height_request(400);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to