vcl/unx/gtk3/gtk3gtkframe.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 089354cd5a85c458e55f63d398ff61f4925fe467
Author: Caolán McNamara <[email protected]>
AuthorDate: Tue Jan 29 11:28:35 2019 +0000
Commit: Miklos Vajna <[email protected]>
CommitDate: Tue Feb 5 10:32:53 2019 +0100
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/67073
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <[email protected]>
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 14ec230787ce..e4cbc88472e3 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();
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits