summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-01-29 11:28:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-01-29 13:45:34 +0100
commitbdf40cca40ddbea8c5c903f2695d6f958c87bb3b (patch)
treec095aac2d9bdda7182419294812d06a497712406
parent7cafc7962f371d8f9bcc4d1a26c507a2536df383 (diff)
tdf#117713 set a tiny default size-request for the fixed container
otherwise we get a default one if SetMinClientSize is never called, which is the case for these spawned-from-basic dialogs Change-Id: I4f0389de6abcb1e99b32798969dca49bf8f0f760 Reviewed-on: https://gerrit.libreoffice.org/67063 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/unx/gtk3/gtk3gtkframe.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 7f74dae76270..d437497227d4 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -1009,6 +1009,7 @@ void GtkSalFrame::InitCommon()
// add the fixed container child,
// fixed is needed since we have to position plugin windows
m_pFixedContainer = GTK_FIXED(g_object_new( ooo_fixed_get_type(), nullptr ));
+ gtk_widget_set_size_request(GTK_WIDGET(m_pFixedContainer), 1, 1);
gtk_container_add( GTK_CONTAINER(m_pEventBox), GTK_WIDGET(m_pFixedContainer) );
GtkWidget *pEventWidget = getMouseEventWidget();