diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-12 14:46:03 +0000 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-11-25 09:35:53 +0100 |
commit | 21a0d9db670364e841e06692d3863e4e217f70a0 (patch) | |
tree | 4f4fecb72398ebaa20a593786d1a21f818586c68 | |
parent | 5f159d4f8524cd466e124ca8366d71566cb883c4 (diff) |
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 <vmiklos@collabora.com>
-rw-r--r-- | vcl/source/control/ivctrl.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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); |