summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-05 13:57:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-03-05 18:08:44 +0100
commit6ca3a21ba96f93b9ed729202ef5d4170daddd6f7 (patch)
tree997078113e3fac133aa7d3d698707842b59f29c1 /vcl/unx
parent5ad62544bce42396faaae2bc79c7517af6ff085b (diff)
weld SfxSaveAsTemplateDialog
Change-Id: Ia663102a2d871fdca093c0d33e5af5a79deebeb5 Reviewed-on: https://gerrit.libreoffice.org/50775 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 6754d2089328..c5eca37b025b 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -2106,6 +2106,15 @@ public:
return (nRowHeight * nRows) + (nVerticalSeparator * (nRows + 1));
}
+ virtual void set_size_request(int nWidth, int nHeight) override
+ {
+ GtkWidget* pParent = gtk_widget_get_parent(m_pWidget);
+ if (GTK_IS_SCROLLED_WINDOW(pParent))
+ gtk_widget_set_size_request(pParent, nWidth, nHeight);
+ else
+ gtk_widget_set_size_request(m_pWidget, nWidth, nHeight);
+ }
+
virtual ~GtkInstanceTreeView() override
{
g_signal_handler_disconnect(gtk_tree_view_get_selection(m_pTreeView), m_nChangedSignalId);