Resolves tdf#171951 - Remove vertical/horizontal tabs choice
Remove less-major choices from the first-run/welcome dialog Change-Id: Ie21e7f933b66a5c4f783703580bf3355e59a215b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204743 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
This commit is contained in:
committed by
Heiko Tietze
parent
83c7330fb5
commit
27ee20bce0
@@ -121,6 +121,7 @@ SvxAppearanceTabPage::SvxAppearanceTabPage(weld::Container* pPage,
|
||||
, m_xNotebookbarIconSize(m_xBuilder->weld_combo_box(u"notebookbariconsdropdown"_ustr))
|
||||
, m_xSizeGrid(m_xBuilder->weld_widget(u"grdIconSize"_ustr))
|
||||
, m_xCustomizationFrame(m_xBuilder->weld_widget(u"items"_ustr))
|
||||
, m_xDialogFrame(m_xBuilder->weld_widget(u"dialogs"_ustr))
|
||||
, m_xVerticalToolbars(m_xBuilder->weld_radio_button(u"rbVertical"_ustr))
|
||||
, m_xHorizontalToolbars(m_xBuilder->weld_radio_button(u"rbHorizontal"_ustr))
|
||||
{
|
||||
@@ -214,6 +215,7 @@ void SvxAppearanceTabPage::Reset(const SfxItemSet* /* rSet */)
|
||||
// hide advanced controls
|
||||
m_xSizeGrid->set_visible(false);
|
||||
m_xCustomizationFrame->set_visible(false);
|
||||
m_xDialogFrame->set_visible(false);
|
||||
|
||||
// default to vertical avoiding to check UseVerticalNotebookbar
|
||||
m_xVerticalToolbars->set_active(true);
|
||||
|
||||
@@ -45,6 +45,7 @@ private:
|
||||
std::unique_ptr<weld::ComboBox> m_xNotebookbarIconSize;
|
||||
std::unique_ptr<weld::Widget> m_xSizeGrid;
|
||||
std::unique_ptr<weld::Widget> m_xCustomizationFrame;
|
||||
std::unique_ptr<weld::Widget> m_xDialogFrame;
|
||||
std::unique_ptr<weld::RadioButton> m_xVerticalToolbars;
|
||||
std::unique_ptr<weld::RadioButton> m_xHorizontalToolbars;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user