[gtk: 1/2] treepopover: Do not propagate natural width of content
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] treepopover: Do not propagate natural width of content
- Date: Tue, 6 Sep 2022 20:17:35 +0000 (UTC)
commit 9c919ffa462dd4511da0bfd19d36d2e15c51651b
Author: Mat <mail mathias is>
Date: Wed Jul 20 16:43:18 2022 +0300
treepopover: Do not propagate natural width of content
Propagating the natural width of the tree popover contents breaks ellipsizing of items
(see 'Unconstrained menu' in tests/testcombo).
gtk/gtktreepopover.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/gtk/gtktreepopover.c b/gtk/gtktreepopover.c
index 7a0881b6e4..77cd8f9e52 100644
--- a/gtk/gtktreepopover.c
+++ b/gtk/gtktreepopover.c
@@ -267,7 +267,6 @@ gtk_tree_popover_init (GtkTreePopover *popover)
sw = gtk_scrolled_window_new ();
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
- gtk_scrolled_window_set_propagate_natural_width (GTK_SCROLLED_WINDOW (sw), TRUE);
gtk_scrolled_window_set_propagate_natural_height (GTK_SCROLLED_WINDOW (sw), TRUE);
gtk_popover_set_child (GTK_POPOVER (popover), sw);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]