diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-11-19 09:32:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-11-19 14:57:46 +0100 |
commit | fae7fd3d193393e4e75ed426b9198925490dc3e4 (patch) | |
tree | 333516c5e93d2e59ba261b7066a0272f8bcd7231 /sfx2 | |
parent | 2337bd5f0d9977a0ecd110abdebea7f331d360df (diff) |
gtk3: default to an explicit constrain-to for Popovers
with the intent to do the same replacement with GtkWindow under X11 for
gtk3 that we do in MenuButtons for the popover with direct popovers when
the constraint is GTK_POPOVER_CONSTRAINT_NONE
Change-Id: I629c30b44a9e362ba0d924bb229930b5f0dc7ed3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125540
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/uiconfig/ui/charmapcontrol.ui | 1 | ||||
-rw-r--r-- | sfx2/uiconfig/ui/commandpopup.ui | 1 | ||||
-rw-r--r-- | sfx2/uiconfig/ui/emojicontrol.ui | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/uiconfig/ui/charmapcontrol.ui b/sfx2/uiconfig/ui/charmapcontrol.ui index 94d83472ff4a..f1d0128b7f7f 100644 --- a/sfx2/uiconfig/ui/charmapcontrol.ui +++ b/sfx2/uiconfig/ui/charmapcontrol.ui @@ -6,6 +6,7 @@ <property name="can_focus">False</property> <property name="no_show_all">True</property> <property name="border_width">4</property> + <property name="constrain-to">none</property> <child> <object class="GtkBox" id="container"> <property name="visible">True</property> diff --git a/sfx2/uiconfig/ui/commandpopup.ui b/sfx2/uiconfig/ui/commandpopup.ui index ed10a85a995d..2b8f52253502 100644 --- a/sfx2/uiconfig/ui/commandpopup.ui +++ b/sfx2/uiconfig/ui/commandpopup.ui @@ -17,6 +17,7 @@ <object class="GtkPopover" id="CommandPopup"> <property name="can-focus">False</property> <property name="position">bottom</property> + <property name="constrain-to">none</property> <child> <object class="GtkBox" id="container"> <property name="visible">True</property> diff --git a/sfx2/uiconfig/ui/emojicontrol.ui b/sfx2/uiconfig/ui/emojicontrol.ui index 9c9d3282b475..6bedfc61274b 100644 --- a/sfx2/uiconfig/ui/emojicontrol.ui +++ b/sfx2/uiconfig/ui/emojicontrol.ui @@ -4,6 +4,7 @@ <requires lib="gtk+" version="3.20"/> <object class="GtkPopover" id="emojictrl"> <property name="can_focus">False</property> + <property name="constrain-to">none</property> <child> <object class="GtkBox" id="container"> <property name="width_request">350</property> |