diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-07-06 12:34:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-07-06 16:46:54 +0200 |
commit | 93bda63aaadedda64dfb8f4a6f9d7f3a08d49aab (patch) | |
tree | a4cfe7b1ddbe92b38783e05ebcf58561a5992e5d /sfx2/source/sidebar | |
parent | 7e7a871bcd4f923b015a7e040969335696b434c6 (diff) |
use box instead of grid
Change-Id: I394779489c256d666e14c7c5bfe55e8ebd94e32d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118481
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r-- | sfx2/source/sidebar/Deck.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/Panel.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx index 074a0bad7466..394c767001c2 100644 --- a/sfx2/source/sidebar/Deck.cxx +++ b/sfx2/source/sidebar/Deck.cxx @@ -51,7 +51,7 @@ Deck::Deck(const DeckDescriptor& rDeckDescriptor, SidebarDockingWindow* pParentW , mxParentWindow(pParentWindow) , mxTitleBar(new DeckTitleBar(rDeckDescriptor.msTitle, *m_xBuilder, rCloserAction)) , mxVerticalScrollBar(m_xBuilder->weld_scrolled_window("scrolledwindow")) - , mxContents(m_xBuilder->weld_container("contents")) + , mxContents(m_xBuilder->weld_box("contents")) { SetStyle(GetStyle() | WB_DIALOGCONTROL); diff --git a/sfx2/source/sidebar/Panel.cxx b/sfx2/source/sidebar/Panel.cxx index 2d799a32d10a..61b9370f8e26 100644 --- a/sfx2/source/sidebar/Panel.cxx +++ b/sfx2/source/sidebar/Panel.cxx @@ -63,9 +63,9 @@ Panel::Panel(const PanelDescriptor& rPanelDescriptor, , mxFrame(rxFrame) , mpParentWindow(pParentWindow) , mxDeck(pDeck) - , mxContainer(mxBuilder->weld_container("Panel")) + , mxContainer(mxBuilder->weld_box("Panel")) , mxTitleBar(new PanelTitleBar(rPanelDescriptor.msTitle, *mxBuilder, this)) - , mxContents(mxBuilder->weld_container("contents")) + , mxContents(mxBuilder->weld_box("contents")) { mxContents->set_visible(mbIsExpanded); mxContainer->connect_get_property_tree(LINK(this, Panel, DumpAsPropertyTreeHdl)); @@ -149,7 +149,7 @@ PanelTitleBar* Panel::GetTitleBar() const return mxTitleBar.get(); } -weld::Container* Panel::GetContents() const +weld::Box* Panel::GetContents() const { return mxContents.get(); } |