diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2018-07-04 19:39:05 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2018-07-05 12:42:28 +0200 |
commit | 2113992e740ec5ba58b150acef04c355cb10bdad (patch) | |
tree | 4586186600a2636257e9cd11a37f0c5ec3eb1c76 /vcl | |
parent | 8161d9cf7649e1183e51aaa2525a9c0374205a3d (diff) |
Honor border width in a welded color picker for gtk3/x11
Change-Id: I1b59e85edb8e9df5be453dc0be1d7d1ffd100ceb
Reviewed-on: https://gerrit.libreoffice.org/56996
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index e2bc52fc922a..4d1c42f7f1dd 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -2939,6 +2939,9 @@ private: } else { + //set border width + gtk_container_set_border_width(GTK_CONTAINER(m_pMenuHack), gtk_container_get_border_width(GTK_CONTAINER(m_pPopover))); + //steal popover contents and smuggle into toplevel display window GtkWidget* pChild = gtk_bin_get_child(GTK_BIN(m_pPopover)); g_object_ref(pChild); |