diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-10-30 20:51:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-10-31 15:36:52 +0100 |
commit | b3d62dd95446a7289ddcc33697811e7acefe4057 (patch) | |
tree | f26f67d6d35d8ec47a874b901ced58e7955bca06 /svx | |
parent | 1f0b3c7a40edfa81bbc7a58d123a6a2dfd83e4ca (diff) |
tdf#137865 use stack background to match the other notebookbar areas
while the StylesPreviewWindow_Impl is the lone InterimItemWindow in
the notebookbar
Change-Id: Ie00d5c5ce3b257891696e95a91e6c88bfa0cbcde
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105085
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/StylesPreviewWindow.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/StylesPreviewWindow.cxx b/svx/source/tbxctrls/StylesPreviewWindow.cxx index 265fea39b956..f0f24e2bf907 100644 --- a/svx/source/tbxctrls/StylesPreviewWindow.cxx +++ b/svx/source/tbxctrls/StylesPreviewWindow.cxx @@ -495,6 +495,10 @@ StylesPreviewWindow_Impl::StylesPreviewWindow_Impl( reinterpret_cast<sal_uInt64>(SfxViewShell::Current())) , StylesPreviewWindow_Base(*m_xBuilder, aDefaultStyles, xDispatchProvider) { + m_xUp->set_stack_background(); + m_xDown->set_stack_background(); + m_xContainer->set_stack_background(); + SetOptimalSize(); } |