https://bugs.documentfoundation.org/show_bug.cgi?id=163008

--- Comment #1 from Michael Weghorn <[email protected]> ---
(In reply to Heiko Tietze from comment #0)
> Test with https://gerrit.libreoffice.org/c/core/+/168685 or change the
> respective attribute for cui/uiconfig/ui/hyperlinkdialog.ui.

Do I understand correctly that this is something that is/can be set
independently for the GtkBox of each single tab child, i.e. the tab control
itself doesn't actually handle it, but it just gets a GtkWidget child?

Using `WB_SMALLICON` for the `SvtIconChoiceCtrl` seems to give a similar result
to the gtk3 version, but is not configurable per tab child. Sample change to
test that:

diff --git a/vcl/source/control/ivctrl.cxx b/vcl/source/control/ivctrl.cxx
index 4566ad1310b9..be5e4c774796 100644
--- a/vcl/source/control/ivctrl.cxx
+++ b/vcl/source/control/ivctrl.cxx
@@ -368,7 +368,7 @@ struct VerticalTabPageData

 VerticalTabControl::VerticalTabControl(vcl::Window* pParent, bool bWithIcons)
     : VclHBox(pParent)
-    , m_xChooser(VclPtr<SvtIconChoiceCtrl>::Create(this, WB_3DLOOK |
(bWithIcons ?  WB_ICON : WB_DETAILS) | WB_BORDER |
+    , m_xChooser(VclPtr<SvtIconChoiceCtrl>::Create(this, WB_3DLOOK |
(bWithIcons ?  WB_SMALLICON : WB_DETAILS) | WB_BORDER |
                                                          WB_NOCOLUMNHEADER |
                                                          WB_NODRAGSELECTION |
WB_TABSTOP | WB_CLIPCHILDREN |
                                                          WB_NOHSCROLL))

If it were an attribute of the GtkNotebook, switching mode based on that
attribute could be an option, but if it's not, I don't see a simple way to make
it work in a way that's configurable independently for each single tab child.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to