diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-16 09:29:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-16 13:18:25 +0100 |
commit | fc86c38e4424f1e098c4422ee28fb0f106ce8558 (patch) | |
tree | 7cbb199cf57ec050147ad75eeaca721354195389 /vcl | |
parent | 04caeef4fdb84d792f967e661073c8ba81d931b2 (diff) |
weld SvxObjectTitleDescDialog
Change-Id: Id08c201ee4377fe84618906725e7699d29dc1160
Reviewed-on: https://gerrit.libreoffice.org/51395
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')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index a7c0ac3824e6..3b54fbbb3415 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -2423,6 +2423,15 @@ public: { } + 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 void set_text(const OUString& rText) override { GtkTextBuffer* pBuffer = gtk_text_view_get_buffer(m_pTextView); |